Update ArduinoJson and TFT_eSPI

This commit is contained in:
fvanroie 2021-05-06 17:57:45 +02:00
parent 04ac201fb2
commit 6662d07c2d
2 changed files with 4 additions and 4 deletions

View File

@ -68,14 +68,14 @@ build_flags =
; Warning : don't put comments after github links => causes infinite download loop ; Warning : don't put comments after github links => causes infinite download loop
lib_deps = lib_deps =
bxparks/AceButton@^1.8.3 ; GPIO button library bxparks/AceButton@^1.8.3 ; GPIO button library
bblanchon/ArduinoJson@^6.17.3 ; Json(l) parser bblanchon/ArduinoJson@^6.18.0 ; Json(l) parser
bblanchon/StreamUtils@1.6.0 ; for EEPromStream bblanchon/StreamUtils@1.6.0 ; for EEPromStream
knolleary/PubSubClient@^2.8.0 ; MQTT client knolleary/PubSubClient@^2.8.0 ; MQTT client
git+https://github.com/fvanroie/ConsoleInput.git git+https://github.com/fvanroie/ConsoleInput.git
;git+https://github.com/andrethomas/TasmotaSlave.git ;git+https://github.com/andrethomas/TasmotaSlave.git
;git+https://github.com/lvgl/lvgl.git ;git+https://github.com/lvgl/lvgl.git
lvgl/lvgl@^7.11.0 ; from PIO library lvgl/lvgl@^7.11.0 ; from PIO library
bodmer/TFT_eSPI@^2.3.66 bodmer/TFT_eSPI@^2.3.67
;git+https://github.com/Bodmer/TFT_eSPI.git ;git+https://github.com/Bodmer/TFT_eSPI.git
; ------ Unused / Test libraries ; ------ Unused / Test libraries
;https://github.com/netwizeBE/TFT_eSPI.git ;https://github.com/netwizeBE/TFT_eSPI.git

View File

@ -536,8 +536,8 @@ void dispatch_parse_json(const char*, const char* payload)
} else if(json.is<const char*>()) { // handle json as a single command } else if(json.is<const char*>()) { // handle json as a single command
dispatch_text_line(json.as<const char*>()); dispatch_text_line(json.as<const char*>());
} else if(json.is<char*>()) { // handle json as a single command // } else if(json.is<char*>()) { // handle json as a single command
dispatch_text_line(json.as<char*>()); // dispatch_text_line(json.as<char*>());
} else { } else {
LOG_WARNING(TAG_MSGR, F(D_DISPATCH_COMMAND_NOT_FOUND), payload); LOG_WARNING(TAG_MSGR, F(D_DISPATCH_COMMAND_NOT_FOUND), payload);