From: Michael Gernoth Date: Sun, 6 Sep 2015 10:43:54 +0000 (+0200) Subject: flash-ota: fix typo X-Git-Tag: v0.102~18 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/469ea397d6f5c4a808fb4d08d8768680d2074007?ds=inline;hp=dfe2e5e2a8df48d1d2c15e18a046e1a81d1fb67a flash-ota: fix typo --- diff --git a/flash-ota.c b/flash-ota.c index 50f20f6..b9b96cc 100644 --- a/flash-ota.c +++ b/flash-ota.c @@ -45,7 +45,7 @@ #define MAX_RETRIES 5 #define NORMAL_MAX_PAYLOAD 37 -#define LOWE_MAX_PAYLOAD 17 +#define LOWER_MAX_PAYLOAD 17 extern char *optarg; @@ -384,8 +384,8 @@ int main(int argc, char **argv) fw_file = optarg; break; case 'l': - printf("Reducing payload-len from %d to %d\n", max_payloadlen, LOWE_MAX_PAYLOAD); - max_payloadlen = LOWE_MAX_PAYLOAD; + printf("Reducing payload-len from %d to %d\n", max_payloadlen, LOWER_MAX_PAYLOAD); + max_payloadlen = LOWER_MAX_PAYLOAD; break; case 's': serial = optarg;