From 578e359eae1953efe0332c08862895e149e7fbe4 Mon Sep 17 00:00:00 2001 From: Tomasz Duda Date: Wed, 16 Oct 2024 14:25:56 +0200 Subject: [PATCH] rollback --- esphome/components/udp/udp_component.cpp | 2 -- esphome/components/udp/udp_component.h | 3 --- 2 files changed, 5 deletions(-) diff --git a/esphome/components/udp/udp_component.cpp b/esphome/components/udp/udp_component.cpp index 3fcef9e4f9..799ed813d3 100644 --- a/esphome/components/udp/udp_component.cpp +++ b/esphome/components/udp/udp_component.cpp @@ -3,7 +3,6 @@ #include "esphome/components/network/util.h" #include "udp_component.h" -#ifdef USE_NETWORK namespace esphome { namespace udp { @@ -615,4 +614,3 @@ void UDPComponent::send_ping_pong_request_() { } } // namespace udp } // namespace esphome -#endif diff --git a/esphome/components/udp/udp_component.h b/esphome/components/udp/udp_component.h index da939af817..69bf335a90 100644 --- a/esphome/components/udp/udp_component.h +++ b/esphome/components/udp/udp_component.h @@ -1,8 +1,6 @@ #pragma once #include "esphome/core/component.h" -#include "esphome/core/defines.h" -#ifdef USE_NETWORK #ifdef USE_SENSOR #include "esphome/components/sensor/sensor.h" #endif @@ -158,4 +156,3 @@ class UDPComponent : public PollingComponent { } // namespace udp } // namespace esphome -#endif