mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Merge pull request #350 from IoTManagerProject/ver4dev
расширяем ограничение на запись файлов при ota
This commit is contained in:
@@ -129,11 +129,12 @@ void restartEsp() {
|
|||||||
// return path;
|
// return path;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
// https://t.me/IoTmanager/128814/164752 - убрал ограничение
|
||||||
void putUserDataToRam() {
|
void putUserDataToRam() {
|
||||||
update.configJson = readFile("config.json", 4096);
|
update.configJson = readFile("config.json", 4096 * 4);
|
||||||
update.settingsFlashJson = readFile("settings.json", 4096);
|
update.settingsFlashJson = readFile("settings.json", 4096 * 4);
|
||||||
update.layoutJson = readFile("layout.json", 4096);
|
update.layoutJson = readFile("layout.json", 4096 * 4);
|
||||||
update.scenarioTxt = readFile("scenario.txt", 4096);
|
update.scenarioTxt = readFile("scenario.txt", 4096 * 4);
|
||||||
// update.chartsData = createDataBaseSting();
|
// update.chartsData = createDataBaseSting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user