sync master <-> dev
This commit is contained in:
commit
33d1f9e53a
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -267,12 +267,14 @@ void rcommand(uint8_t cmd[], uint8_t cmdlength) {
|
|||||||
TAG,
|
TAG,
|
||||||
"Remote command x%02X called with missing parameter(s), skipped",
|
"Remote command x%02X called with missing parameter(s), skipped",
|
||||||
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user