mirror of
https://github.com/esphome/esphome.git
synced 2025-11-03 08:31:47 +00:00
[core][esp32_ble] Add wake_loop_threadsafe() helper for background thread wakeups
This commit is contained in:
@@ -26,12 +26,8 @@
|
||||
// Inline function drain_wake_notifications_() needs lwip socket functions
|
||||
#ifdef USE_SOCKET_IMPL_LWIP_SOCKETS
|
||||
#include <lwip/sockets.h>
|
||||
#elif defined(USE_SOCKET_IMPL_BSD_SOCKETS)
|
||||
#ifdef USE_ESP32
|
||||
#elif defined(USE_SOCKET_IMPL_BSD_SOCKETS) && defined(USE_ESP32)
|
||||
#include <lwip/sockets.h>
|
||||
#else
|
||||
// True BSD sockets already included via sys/select.h
|
||||
#endif
|
||||
#endif
|
||||
#endif // USE_WAKE_LOOP_THREADSAFE
|
||||
#endif // USE_SOCKET_SELECT_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user