This commit is contained in:
Tomasz Duda 2024-10-16 14:25:56 +02:00
parent e7b5b8dfbd
commit 578e359eae
2 changed files with 0 additions and 5 deletions

View file

@ -3,7 +3,6 @@
#include "esphome/components/network/util.h" #include "esphome/components/network/util.h"
#include "udp_component.h" #include "udp_component.h"
#ifdef USE_NETWORK
namespace esphome { namespace esphome {
namespace udp { namespace udp {
@ -615,4 +614,3 @@ void UDPComponent::send_ping_pong_request_() {
} }
} // namespace udp } // namespace udp
} // namespace esphome } // namespace esphome
#endif

View file

@ -1,8 +1,6 @@
#pragma once #pragma once
#include "esphome/core/component.h" #include "esphome/core/component.h"
#include "esphome/core/defines.h"
#ifdef USE_NETWORK
#ifdef USE_SENSOR #ifdef USE_SENSOR
#include "esphome/components/sensor/sensor.h" #include "esphome/components/sensor/sensor.h"
#endif #endif
@ -158,4 +156,3 @@ class UDPComponent : public PollingComponent {
} // namespace udp } // namespace udp
} // namespace esphome } // namespace esphome
#endif