1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-20 16:55:49 +00:00

Remove support for ESP-IDF version < 4 (#5261)

This commit is contained in:
Jimmy Hedman
2023-08-17 22:02:57 +02:00
committed by GitHub
parent 2b4ed0c273
commit 0af8d0b7ea
7 changed files with 3 additions and 129 deletions

View File

@@ -324,11 +324,7 @@ class WiFiComponent : public Component {
#endif
#ifdef USE_ESP32_FRAMEWORK_ARDUINO
#if ESP_IDF_VERSION_MAJOR >= 4
void wifi_event_callback_(arduino_event_id_t event, arduino_event_info_t info);
#else
void wifi_event_callback_(system_event_id_t event, system_event_info_t info);
#endif
void wifi_scan_done_callback_();
#endif
#ifdef USE_ESP_IDF