mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 03:39:49 +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;
|
||||
}
|
||||
|
||||
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;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user