From 2ac95abea7c31135901c2a3fe4c30760a6b9e4c3 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sun, 2 Nov 2025 21:51:39 -0600 Subject: [PATCH] [core][esp32_ble] Add wake_loop_threadsafe() helper for background thread wakeups --- esphome/core/application.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/esphome/core/application.h b/esphome/core/application.h index fdc7f02796..6909eec64a 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -26,12 +26,8 @@ // Inline function drain_wake_notifications_() needs lwip socket functions #ifdef USE_SOCKET_IMPL_LWIP_SOCKETS #include -#elif defined(USE_SOCKET_IMPL_BSD_SOCKETS) -#ifdef USE_ESP32 +#elif defined(USE_SOCKET_IMPL_BSD_SOCKETS) && defined(USE_ESP32) #include -#else -// True BSD sockets already included via sys/select.h -#endif #endif #endif // USE_WAKE_LOOP_THREADSAFE #endif // USE_SOCKET_SELECT_SUPPORT