небольшие изменения

This commit is contained in:
Dmitry Borisenko
2022-02-23 17:54:18 +01:00
parent c565767260
commit 1dfab33e4c
4 changed files with 8 additions and 3 deletions

View File

@@ -68,8 +68,8 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
//**сохранение**//
if (headerStr == "/gifnoc|") {
writeFileUint8tByFrames("config.json", payload, length, headerLenth, 256);
//clearConfigure();
configure("/config.json");
// clearConfigure();
// configure("/config.json");
}
//**сохранение**//
if (headerStr == "/tuoyal|") {
@@ -134,6 +134,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
if (headerStr == "/update|") {
upgrade_firmware(3);
}
} break;
case WStype_BIN: {