diff --git a/compiled/esp8266-wifi/firmware.bin b/compiled/esp8266-wifi/firmware.bin index 0440723..e8dfa8c 100644 Binary files a/compiled/esp8266-wifi/firmware.bin and b/compiled/esp8266-wifi/firmware.bin differ diff --git a/lighthub/main.cpp b/lighthub/main.cpp index 2dabf58..1576698 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -1158,11 +1158,16 @@ void cmdFunctionGet(int arg_cnt, char **args) { void printBool(bool arg) { (arg) ? debugSerial<31) len=31; + if (len>MAXFLASHSTR-1) len=MAXFLASHSTR-1; for(int i=0;i 1) { strncpy(configServer, args[1], sizeof(configServer) - 1); saveFlash(OFFSET_CONFIGSERVER, configServer); + debugSerial<