From 60df1b436e27c3a78693e059d9d9b7cb1c06acbe Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 20 Mar 2026 19:14:00 -1000 Subject: [PATCH] [socket] Add NOLINT for socket_delay forward declaration Suppress readability-redundant-declaration warning triggered by the forward declaration added in application.h for inline yield_with_select_. --- esphome/components/socket/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/socket/socket.h b/esphome/components/socket/socket.h index a21bd647305..226a669e31a 100644 --- a/esphome/components/socket/socket.h +++ b/esphome/components/socket/socket.h @@ -125,7 +125,7 @@ size_t format_sockaddr_to(const struct sockaddr *addr_ptr, socklen_t len, std::s /// On ESP8266, uses esp_delay() with a callback that checks socket activity. /// On RP2040, uses __wfe() (Wait For Event) to truly sleep until an interrupt /// (for example, CYW43 GPIO or a timer alarm) fires and wakes the CPU. -void socket_delay(uint32_t ms); +void socket_delay(uint32_t ms); // NOLINT(readability-redundant-declaration) /// Signal socket/IO activity and wake the main loop early. /// On ESP8266: sets flag + esp_schedule().