mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-28 13:46:36 +00:00
Code cleanup
This commit is contained in:
parent
a751569bde
commit
ef8413234f
@ -89,10 +89,6 @@ bool otaUpdateCheck()
|
|||||||
|
|
||||||
if(jsonError) { // Couldn't parse the returned JSON, so bail
|
if(jsonError) { // Couldn't parse the returned JSON, so bail
|
||||||
dispatch_json_error(TAG_OTA, jsonError);
|
dispatch_json_error(TAG_OTA, jsonError);
|
||||||
// mqttClient.publish(mqttStateJSONTopic,
|
|
||||||
// String(F("{\"event\":\"jsonError\",\"event_source\":\"updateCheck()\",\"event_description\":"
|
|
||||||
// "\"Failed to parse incoming JSON command with error\"")) +
|
|
||||||
// String(jsonError.c_str()));
|
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
if(!updateJson["d1_mini"]["version"].isNull()) {
|
if(!updateJson["d1_mini"]["version"].isNull()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user