diff --git a/esphome/components/socket/socket.h b/esphome/components/socket/socket.h index 20d72ea2cf..0884e4ba3e 100644 --- a/esphome/components/socket/socket.h +++ b/esphome/components/socket/socket.h @@ -127,7 +127,7 @@ void socket_delay(uint32_t ms); /// Signal socket/IO activity and wake the main loop from esp_delay() early. /// ISR-safe: uses IRAM_ATTR internally and only sets a volatile flag + esp_schedule(). -void socket_wake(); +void socket_wake(); // NOLINT(readability-redundant-declaration) #endif } // namespace esphome::socket diff --git a/esphome/core/application.h b/esphome/core/application.h index 835174668a..1889948fd1 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -39,10 +39,9 @@ #endif // USE_SOCKET_SELECT_SUPPORT #if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) namespace esphome::socket { -void socket_wake(); +void socket_wake(); // NOLINT(readability-redundant-declaration) } // namespace esphome::socket #endif - #ifdef USE_BINARY_SENSOR #include "esphome/components/binary_sensor/binary_sensor.h" #endif