mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
Добавляем перестройку сценаряи сразу после пересоздания конфигурации
This commit is contained in:
@@ -73,6 +73,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
|
|||||||
clearConfigure();
|
clearConfigure();
|
||||||
Serial.println("Start config");
|
Serial.println("Start config");
|
||||||
configure("/config.json");
|
configure("/config.json");
|
||||||
|
iotScen.loadScenario("/scenario.txt");
|
||||||
}
|
}
|
||||||
//**сохранение**//
|
//**сохранение**//
|
||||||
if (headerStr == "/tuoyal|") {
|
if (headerStr == "/tuoyal|") {
|
||||||
|
|||||||
Reference in New Issue
Block a user