mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
bug fixed with scenario init
This commit is contained in:
@@ -63,6 +63,7 @@ void addPreset(String name) {
|
|||||||
String scenario = readFile("presets/" + name + ".txt", 4048);
|
String scenario = readFile("presets/" + name + ".txt", 4048);
|
||||||
removeFile(DEVICE_SCENARIO_FILE);
|
removeFile(DEVICE_SCENARIO_FILE);
|
||||||
addFile(DEVICE_SCENARIO_FILE, scenario);
|
addFile(DEVICE_SCENARIO_FILE, scenario);
|
||||||
|
loadScenario();
|
||||||
}
|
}
|
||||||
|
|
||||||
void delAllItems() {
|
void delAllItems() {
|
||||||
|
|||||||
Reference in New Issue
Block a user