mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
don't echo wifi password after setting it
This commit is contained in:
@@ -320,8 +320,7 @@ void System::system_restart(const char * partitionname) {
|
||||
void System::wifi_reconnect() {
|
||||
EMSESP::esp32React.getNetworkSettingsService()->read(
|
||||
[](NetworkSettings & networkSettings) { LOG_INFO("WiFi reconnecting to SSID '%s'...", networkSettings.ssid.c_str()); });
|
||||
Shell::loop_all();
|
||||
delay(1000); // wait a second
|
||||
delay(500); // wait
|
||||
EMSESP::webSettingsService.save(); // save local settings
|
||||
EMSESP::esp32React.getNetworkSettingsService()->callUpdateHandlers(); // in case we've changed ssid or password
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user