This commit is contained in:
tablatronix
2021-03-18 14:28:04 -05:00
parent a9507c98b5
commit 9b100c34dc
+1 -1
View File
@@ -3495,7 +3495,7 @@ void WiFiManager::WiFiEvent(WiFiEvent_t event,arduino_event_info_t info){
WiFi.reconnect();
#endif
}
else if(event == SYSTEM_EVENT_SCAN_DONE){
else if(event == ARDUINO_EVENT_WIFI_SCAN_DONE){
uint16_t scans = WiFi.scanComplete();
WiFi_scanComplete(scans);
}