X-Git-Url: https://git.rvb.name/esp-clock.git/blobdiff_plain/dab14a20e37e760a82b72f50f765caa26fff556e..refs/remotes/github/master:/config.cpp?ds=inline diff --git a/config.cpp b/config.cpp index bb60f3a..9c46b95 100644 --- a/config.cpp +++ b/config.cpp @@ -489,7 +489,6 @@ void saveConfig(bool force) { if (File f = LittleFS.open(F("/config.txt"),"w")) { f.print(cfg); f.close(); - Serial.print(cfg); Serial.println(F("Конфигурация сохранена")); cfg.resetTimestamp(); } @@ -557,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();