F-commands to flash and display them

This commit is contained in:
MichaelDvP
2020-11-01 15:35:49 +01:00
parent cb228d8c8b
commit de0e291b78
4 changed files with 16 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ bool System::command_send(const char * value, const int8_t id) {
// restart EMS-ESP
void System::restart() {
LOG_NOTICE("Restarting system...");
LOG_NOTICE(F("Restarting system..."));
Shell::loop_all();
delay(1000); // wait a second
#if defined(ESP8266)
@@ -73,7 +73,7 @@ void System::restart() {
// saves all settings
void System::wifi_reconnect() {
LOG_NOTICE("The wifi will reconnect...");
LOG_NOTICE(F("The wifi will reconnect..."));
Shell::loop_all();
delay(1000); // wait a second
EMSESP::webSettingsService.save(); // local settings