MQTT port/login/password issue fixed for some platforms

This commit is contained in:
2020-12-06 02:44:45 +03:00
committed by GitHub
parent ffa2c521c5
commit b0c65eb94b

View File

@@ -711,7 +711,7 @@ void ip_ready_config_loaded_connecting_to_broker() {
return; return;
} }
if (!mqttArr || (n = aJson.getArraySize(mqttArr) < 2)) //At least device name and broker IP must be configured if (!mqttArr || ((n = aJson.getArraySize(mqttArr)) < 2)) //At least device name and broker IP must be configured
{ {
lanStatus = READ_RE_CONFIG; lanStatus = READ_RE_CONFIG;
return; return;