add cpp file

This commit is contained in:
Tomasz Duda 2024-08-13 16:50:51 +02:00
parent 088e748bba
commit 7af1ea1f14

View file

@ -1,6 +1,6 @@
#include "util.h" #include "util.h"
#include "esphome/core/defines.h" #include "esphome/core/defines.h"
#ifdef USE_NETWORK
#ifdef USE_WIFI #ifdef USE_WIFI
#include "esphome/components/wifi/wifi_component.h" #include "esphome/components/wifi/wifi_component.h"
#endif #endif
@ -63,3 +63,4 @@ std::string get_use_address() {
} // namespace network } // namespace network
} // namespace esphome } // namespace esphome
#endif