Add better handling of arduino ver checking

This commit is contained in:
tablatronix
2021-09-09 10:18:40 -05:00
parent f199906e9d
commit 55d7ccbd7a
2 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -3499,7 +3499,7 @@ String WiFiManager::WiFi_psk(bool persistent) const {
}
#ifdef ESP32
#ifdef ESP_ARDUINO_VERSION
#ifdef WM_ARDUINOEVENTS
void WiFiManager::WiFiEvent(WiFiEvent_t event,arduino_event_info_t info){
#else
void WiFiManager::WiFiEvent(WiFiEvent_t event,system_event_info_t info){