File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ void menuWiFi() {systemPrintln("**WiFi not compiled**");}
171171bool wifiConnect (bool startWiFiStation, bool startWiFiAP, unsigned long timeout) {return false ;}
172172int wifiNetworkCount () {return 0 ;}
173173bool wifiIsRunning () {return false ;}
174+ uint32_t wifiGetStartTimeout () {return 0 ;}
174175#define WIFI_STOP () {}
175176
176177#endif // COMPILE_WIFI
Original file line number Diff line number Diff line change @@ -576,6 +576,13 @@ void wifiResetTimeout()
576576 systemPrintln (" WiFi: Start timeout reset to zero" );
577577}
578578
579+ // ----------------------------------------
580+ // ----------------------------------------
581+ uint32_t wifiGetStartTimeout ()
582+ {
583+ return (wifiStartTimeout);
584+ }
585+
579586// ----------------------------------------
580587// Reset the last WiFi start attempt
581588// Useful when WiFi settings have changed
You can’t perform that action at this time.
0 commit comments