264 stable. Dallas bug fixed!

This commit is contained in:
Dmitry Borisenko
2020-11-03 19:07:22 +03:00
parent aba00d9a70
commit c02abefb43
21 changed files with 114 additions and 136 deletions

View File

@@ -55,12 +55,14 @@ void addItem(String name) {
}
void addPreset(String name) {
String preset = readFile("presets/" + name + ".txt", 2024);
Serial.println(name);
String preset = readFile("presets/" + name + ".txt", 4048);
Serial.println(preset);
addFile(DEVICE_CONFIG_FILE, "\n" + preset);
name.replace(".c",".s");
String scenario = readFile("presets/" + name + ".txt", 2024);
String scenario = readFile("presets/" + name + ".txt", 4048);
removeFile(DEVICE_SCENARIO_FILE);
addFile(DEVICE_SCENARIO_FILE, scenario);
}