модифицированна функция записи файла

This commit is contained in:
Dmitry Borisenko
2022-01-28 23:39:03 +01:00
parent 5ec1e59957
commit c85824f67f
3 changed files with 27 additions and 4 deletions

View File

@@ -226,7 +226,7 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t* payload, size_t length)
}
if (headerStr == "/gifnoc") {
writeFileUint8("config.json", payload, length, headerLenth);
writeFileUint8tFromBuf("config.json", payload, length, headerLenth, 256);
}
} break;