Расставляем маркеры для понимания процесса очистки конфигурации

This commit is contained in:
2022-04-28 10:05:28 +03:00
parent 26fd968782
commit 8eb3fd5ae6
4 changed files with 9 additions and 0 deletions

View File

@@ -69,7 +69,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
//**сохранение**//
if (headerStr == "/gifnoc|") {
writeFileUint8tByFrames("config.json", payload, length, headerLenth, 256);
Serial.println("Start clear");
clearConfigure();
Serial.println("Start config");
configure("/config.json");
}
//**сохранение**//