mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 22:26:36 +00:00
[udp, syslog] fix clang tidy (#8755)
This commit is contained in:
parent
58104229e2
commit
facf94699e
@ -5,6 +5,7 @@
|
||||
#include "esphome/components/udp/udp_component.h"
|
||||
#include "esphome/components/time/real_time_clock.h"
|
||||
|
||||
#ifdef USE_NETWORK
|
||||
namespace esphome {
|
||||
namespace syslog {
|
||||
class Syslog : public Component, public Parented<udp::UDPComponent> {
|
||||
@ -23,3 +24,4 @@ class Syslog : public Component, public Parented<udp::UDPComponent> {
|
||||
};
|
||||
} // namespace syslog
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "udp_component.h"
|
||||
#ifdef USE_NETWORK
|
||||
#include "esphome/core/automation.h"
|
||||
|
||||
#include <vector>
|
||||
@ -36,3 +37,4 @@ template<typename... Ts> class UDPWriteAction : public Action<Ts...>, public Par
|
||||
|
||||
} // namespace udp
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "../udp_component.h"
|
||||
#ifdef USE_NETWORK
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/components/packet_transport/packet_transport.h"
|
||||
#include <vector>
|
||||
@ -24,3 +25,4 @@ class UDPTransport : public packet_transport::PacketTransport, public Parented<U
|
||||
|
||||
} // namespace udp
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user