mirror of
https://github.com/esphome/esphome.git
synced 2025-03-14 04:25:15 +01:00
include cpp files as well
This commit is contained in:
parent
7c1844b332
commit
49b931357e
8 changed files with 16 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "wifi_component.h"
|
||||
#ifdef USE_WIFI
|
||||
#include <cinttypes>
|
||||
#include <map>
|
||||
|
||||
|
@ -856,3 +857,4 @@ WiFiComponent *global_wifi_component; // NOLINT(cppcoreguidelines-avoid-non-con
|
|||
|
||||
} // namespace wifi
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_ESP32_FRAMEWORK_ARDUINO
|
||||
|
||||
#include <esp_netif.h>
|
||||
|
@ -802,3 +803,4 @@ network::IPAddress WiFiComponent::wifi_dns_ip_(int num) { return network::IPAddr
|
|||
} // namespace esphome
|
||||
|
||||
#endif // USE_ESP32_FRAMEWORK_ARDUINO
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "wifi_component.h"
|
||||
#include "esphome/core/defines.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_ESP8266
|
||||
|
||||
#include <user_interface.h>
|
||||
|
@ -834,3 +835,4 @@ void WiFiComponent::wifi_loop_() {}
|
|||
} // namespace esphome
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_LIBRETINY
|
||||
|
||||
#include <utility>
|
||||
|
@ -468,3 +469,4 @@ void WiFiComponent::wifi_loop_() {}
|
|||
} // namespace esphome
|
||||
|
||||
#endif // USE_LIBRETINY
|
||||
#endif
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
#include "wifi_component.h"
|
||||
|
||||
#ifdef USE_WIFI
|
||||
#ifdef USE_RP2040
|
||||
|
||||
#include "lwip/dns.h"
|
||||
|
@ -218,3 +219,4 @@ void WiFiComponent::wifi_pre_setup_() {}
|
|||
} // namespace esphome
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "wifi_info_text_sensor.h"
|
||||
#ifdef USE_WIFI
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
|
@ -15,3 +16,4 @@ void DNSAddressWifiInfo::dump_config() { LOG_TEXT_SENSOR("", "WifiInfo DNS Addre
|
|||
|
||||
} // namespace wifi_info
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#include "wifi_signal_sensor.h"
|
||||
#ifdef USE_WIFI
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
namespace esphome {
|
||||
|
@ -10,3 +11,4 @@ void WiFiSignalSensor::dump_config() { LOG_SENSOR("", "WiFi Signal", this); }
|
|||
|
||||
} // namespace wifi_signal
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue