projects
/
esp-clock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Сохранение/восстановление/сброс настроек через веб-интерфейс.
[esp-clock.git]
/
config.cpp
diff --git
a/config.cpp
b/config.cpp
index 083580264c7f8c85b2b91c82ac9b5be9c04d083c..9c46b95c840b92d0edbadd57f676353ef84ccadd 100644
(file)
--- a/
config.cpp
+++ b/
config.cpp
@@
-556,6
+556,7
@@
char* distConfig PROGMEM =
void reset() {
messageModal(F("Сбрасываю настройки"));
+ delay(2000);
if (File f = LittleFS.open(F("/config.txt"),"w")) {
f.print(distConfig);
f.close();