File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -923,22 +923,6 @@ void WifiCheck(uint8_t param)
923923 if (Wifi.config_counter ) {
924924 Wifi.config_counter --;
925925 Wifi.counter = Wifi.config_counter +5 ;
926- if (Wifi.config_counter ) {
927- if (!Wifi.config_counter ) {
928- if (strlen (WiFi.SSID ().c_str ())) {
929- SettingsUpdateText (SET_STASSID1, WiFi.SSID ().c_str ());
930- }
931- if (strlen (WiFi.psk ().c_str ())) {
932- SettingsUpdateText (SET_STAPWD1, WiFi.psk ().c_str ());
933- }
934- Settings->sta_active = 0 ;
935- AddLog (LOG_LEVEL_INFO, PSTR (D_LOG_WIFI D_WCFG_2_WIFIMANAGER D_CMND_SSID " 1 %s" ), SettingsText (SET_STASSID1));
936- }
937- }
938- if (!Wifi.config_counter ) {
939- // SettingsSdkErase(); // Disabled v6.1.0b due to possible bad wifi connects
940- TasmotaGlobal.restart_flag = 2 ;
941- }
942926 } else {
943927 if (Wifi.counter <= 0 ) {
944928 WifiCheckIp ();
You can’t perform that action at this time.
0 commit comments