File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -611,6 +611,17 @@ void wifiPromiscuousRxHandler(void *buf, wifi_promiscuous_pkt_type_t type)
611
611
packetRSSI = ppkt->rx_ctrl .rssi ;
612
612
}
613
613
614
+ // *********************************************************************
615
+ // Set WiFi timeout back to zero
616
+ // Useful if other things (such as a successful ethernet connection) need
617
+ // to reset wifi timeout
618
+ void wifiResetTimeout ()
619
+ {
620
+ wifiStartTimeout = 0 ;
621
+ if (settings.debugWifiState == true )
622
+ systemPrintln (" WiFi: Start timeout reset to zero" );
623
+ }
624
+
614
625
// *********************************************************************
615
626
// Constructor
616
627
// Inputs:
@@ -3117,17 +3128,6 @@ bool wifiStart()
3117
3128
return (wifiStatus == WL_CONNECTED);
3118
3129
}
3119
3130
3120
- // ----------------------------------------
3121
- // Set WiFi timeout back to zero
3122
- // Useful if other things (such as a successful ethernet connection) need to reset wifi timeout
3123
- // ----------------------------------------
3124
- void wifiResetTimeout ()
3125
- {
3126
- wifiStartTimeout = 0 ;
3127
- if (settings.debugWifiState == true )
3128
- systemPrintln (" WiFi: Start timeout reset to zero" );
3129
- }
3130
-
3131
3131
// ----------------------------------------
3132
3132
// ----------------------------------------
3133
3133
uint32_t wifiGetStartTimeout ()
You can’t perform that action at this time.
0 commit comments