diff --git a/esphome/core/application.h b/esphome/core/application.h index 1ae4275f7d..2a05433051 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -639,6 +639,7 @@ class Application { static void IRAM_ATTR wake_loop_any_context() { esphome_lwip_wake_main_loop_any_context(); } #endif #endif +#endif // USE_SOCKET_SELECT_SUPPORT #if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP) /// Wake the main event loop from any context (ISR, thread, or main loop).