message: missed one
diff: @@ -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);
  }
  