mirror of
https://github.com/esphome/esphome.git
synced 2025-10-08 04:43:46 +01:00
[wifi] Unify ESP32 WiFi implementation to use ESP-IDF driver (#10849)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_ESP_IDF
|
||||
#ifdef USE_ESP32
|
||||
|
||||
#include <esp_event.h>
|
||||
#include <esp_netif.h>
|
||||
@@ -1050,5 +1050,5 @@ network::IPAddress WiFiComponent::wifi_dns_ip_(int num) {
|
||||
} // namespace wifi
|
||||
} // namespace esphome
|
||||
|
||||
#endif // USE_ESP_IDF
|
||||
#endif // USE_ESP32
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user