mirror of
https://github.com/esphome/esphome.git
synced 2025-10-02 01:52:21 +01:00
[code-quality] fix clang-tidy wifi related (#7254)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_ESP_IDF
|
||||
|
||||
#include <esp_event.h>
|
||||
@@ -1010,3 +1011,4 @@ network::IPAddress WiFiComponent::wifi_dns_ip_(int num) {
|
||||
} // namespace esphome
|
||||
|
||||
#endif // USE_ESP_IDF
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user