mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
405
This commit is contained in:
@@ -110,9 +110,11 @@ const String getBinPath(String file) {
|
||||
void putUserDataToRam() {
|
||||
update.configJson = readFile("config.json", 4096);
|
||||
update.settingsFlashJson = readFile("settings.json", 4096);
|
||||
update.layoutJson = readFile("layout.json", 4096);
|
||||
}
|
||||
|
||||
void saveUserDataToFlash() {
|
||||
writeFile("/config.json", update.configJson);
|
||||
writeFile("/settings.json", update.settingsFlashJson);
|
||||
writeFile("/layout.json", update.layoutJson);
|
||||
}
|
||||
Reference in New Issue
Block a user