mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +03:00
MQTT port/login/password issue fixed for some platforms
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user