mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
F-commands to flash and display them
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user