mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-28 21:26:33 +00:00
ESP32 port: JSON error
A double quote is missing in the JSON response of the status command, so the result is not valid for ESP32.
This commit is contained in:
parent
cd6e23757c
commit
b7c7943b00
@ -470,7 +470,7 @@ void CmndStatus(void)
|
||||
if ((0 == payload) || (4 == payload)) {
|
||||
Response_P(PSTR("{\"" D_CMND_STATUS D_STATUS4_MEMORY "\":{\"" D_JSON_PROGRAMSIZE "\":%d,\"" D_JSON_FREEMEMORY "\":%d,\"" D_JSON_HEAPSIZE "\":%d,\""
|
||||
#ifdef ESP32
|
||||
D_JSON_PSRMAXMEMORY "\":%d,\"" D_JSON_PSRFREEMEMORY "\":%d,"
|
||||
D_JSON_PSRMAXMEMORY "\":%d,\"" D_JSON_PSRFREEMEMORY "\":%d,\""
|
||||
#endif
|
||||
D_JSON_PROGRAMFLASHSIZE "\":%d,\"" D_JSON_FLASHSIZE "\":%d"
|
||||
#ifdef ESP8266
|
||||
@ -2016,4 +2016,4 @@ void CmndTouchNum(void)
|
||||
|
||||
}
|
||||
|
||||
#endif //ESP32
|
||||
#endif //ESP32
|
||||
|
Loading…
x
Reference in New Issue
Block a user