sync master <-> dev

This commit is contained in:
Klaus K Wilting 2018-08-15 21:07:51 +02:00
commit 33d1f9e53a
3 changed files with 10 additions and 8 deletions

View File

@ -140,8 +140,8 @@ Hereafter described is the default *plain* format, which uses MSB bit numbering.
byte 1-2: Battery or USB Voltage [mV], 0 if no battery probe byte 1-2: Battery or USB Voltage [mV], 0 if no battery probe
byte 3-10: Uptime [seconds] byte 3-10: Uptime [seconds]
bytes 11-14: CPU temperature [°C] byte 11: CPU temperature [°C]
bytes 15-18: Free RAM [bytes] bytes 12-15: Free RAM [bytes]
**Port #3:** Device configuration query result **Port #3:** Device configuration query result

View File

@ -50,7 +50,7 @@ build_flags =
; Warn ; Warn
; -DCORE_DEBUG_LEVEL=2 ; -DCORE_DEBUG_LEVEL=2
; Info ; Info
; -DCORE_DEBUG_LEVEL=3 -DCORE_DEBUG_LEVEL=3
; Debug ; Debug
; -DCORE_DEBUG_LEVEL=4 ; -DCORE_DEBUG_LEVEL=4
; Verbose ; Verbose

View File

@ -269,10 +269,12 @@ void rcommand(uint8_t cmd[], uint8_t cmdlength) {
table[i].opcode); table[i].opcode);
break; // command found -> exit table lookup loop break; // command found -> exit table lookup loop
} // end of command validation } // end of command validation
} // end of table lookup loop } // end of command table lookup loop
if (i < 0) // command not found -> exit parser loop if (i < 0) { // command not found -> exit parser
ESP_LOGI(TAG, "Unknown remote command x%02X, ignored", cmd[cursor]);
break; break;
} // end of command parsing loop }
} // command parsing loop
if (storeflag) if (storeflag)
saveConfig(); saveConfig();