mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Исправление ошибки с получением IP в сценарии
This commit is contained in:
@@ -24,6 +24,8 @@ void globalVarsSync()
|
|||||||
|
|
||||||
mqttRootDevice = mqttPrefix + "/" + chipId;
|
mqttRootDevice = mqttPrefix + "/" + chipId;
|
||||||
|
|
||||||
|
jsonWriteStr_(settingsFlashJson, "ip", WiFi.localIP().toString());
|
||||||
|
|
||||||
// это не используется - удалить в последствии
|
// это не используется - удалить в последствии
|
||||||
jsonWriteStr_(settingsFlashJson, "root", mqttRootDevice);
|
jsonWriteStr_(settingsFlashJson, "root", mqttRootDevice);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user