]> git.zerfleddert.de Git - hmcfgusb/commitdiff
flash-ota: fix typo
authorMichael Gernoth <michael@gernoth.net>
Sun, 6 Sep 2015 10:43:54 +0000 (12:43 +0200)
committerMichael Gernoth <michael@gernoth.net>
Sun, 6 Sep 2015 10:43:54 +0000 (12:43 +0200)
flash-ota.c

index 50f20f66909dd45de5d4f860441b699747e16d38..b9b96cc05a3959c25e49647e1b7238c4fe08e61a 100644 (file)
@@ -45,7 +45,7 @@
 
 #define MAX_RETRIES            5
 #define NORMAL_MAX_PAYLOAD     37
 
 #define MAX_RETRIES            5
 #define NORMAL_MAX_PAYLOAD     37
-#define LOWE_MAX_PAYLOAD       17
+#define LOWER_MAX_PAYLOAD      17
 
 extern char *optarg;
 
 
 extern char *optarg;
 
@@ -384,8 +384,8 @@ int main(int argc, char **argv)
                                fw_file = optarg;
                                break;
                        case 'l':
                                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;
                                break;
                        case 's':
                                serial = optarg;
Impressum, Datenschutz