File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,8 +288,6 @@ void ESP8266Utils_checkScanResults() {
288288 net.channel ,
289289 net.encryption .c_str ());
290290 }
291-
292- WiFi.reconnect ();
293291 }
294292}
295293
Original file line number Diff line number Diff line change @@ -386,7 +386,8 @@ void pantalla_handleButtonInMenu(
386386 // each time we enter this menu.
387387 ESP8266Utils_startWifiScanIfNeeded ();
388388 ESP8266Utils_checkScanResults ();
389- static int previousCurrentIndex = 1 ;
389+ static int previousCurrentIndex = 1 ; // Start at 1 so in the first iteration we can
390+ // select the first network.
390391 int countNetworks = ESP8266Utils_getTrackedNetworkCount ();
391392 int currentIndex = ESP8266Utils_getIndexBySsid (adjustedSSID );
392393 if ((currentIndex < 0 ) && (countNetworks > 0 ) && (previousCurrentIndex > 0 )) {
@@ -869,7 +870,6 @@ void pantalla_actualizarMenuConfigWifiResultado(String* lcdBuffer) {
869870 * lcdBuffer += String ("WIFI: CONECTADO " );
870871 * lcdBuffer += String ("< OK>" );
871872 } else {
872- int porcentaje = ESP8266Utils_getWifiConnectionPercentage ();
873873 if (porcentaje == 100 ) {
874874 * lcdBuffer += String ("WIFI: FALLIDO " );
875875 } else {
You can’t perform that action at this time.
0 commit comments