File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ build_flags =
74
74
; -- Hasp build options ----------------------------
75
75
-D HASP_VER_MAJ =0
76
76
-D HASP_VER_MIN =7
77
- ; -D HASP_VER_REV=4
78
- -D HASP_VER_REV =0-rc15
77
+ -D HASP_VER_REV =0.1
78
+ ; -D HASP_VER_REV=0-rc15
79
79
; -D HASP_VER_REV=4-rc1
80
80
${override.build_flags}
81
81
Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ void wifiSetup()
509
509
510
510
WiFi.setScanMethod (WIFI_ALL_CHANNEL_SCAN);
511
511
wifiReconnect ();
512
- WiFi.setAutoReconnect (false ); // done in wifiEvery5Seconds
512
+ WiFi.setAutoReconnect (true ); // done in wifiEvery5Seconds
513
513
LOG_TRACE (TAG_WIFI, F (D_WIFI_CONNECTING_TO), wifiSsid);
514
514
}
515
515
#endif
@@ -532,10 +532,11 @@ bool wifiEvery5Seconds()
532
532
return true ;
533
533
}
534
534
535
- if (wifiEnabled) {
536
- LOG_WARNING (TAG_WIFI, F (" No Connection... retry %d" ), network_reconnect_counter);
537
- wifiReconnect ();
538
- }
535
+ // Issue #919 : Reconnects happens to quickly
536
+ // if(wifiEnabled) {
537
+ // LOG_WARNING(TAG_WIFI, F("No Connection... retry %d"), network_reconnect_counter);
538
+ // wifiReconnect();
539
+ // }
539
540
540
541
return false ;
541
542
}
You can’t perform that action at this time.
0 commit comments