[core] Move wake_loop out of socket component into core (#15446)

Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
J. Nick KostonandJonathan Swoboda authored and GitHub committed 2026-04-06 21:01:03 +00:00
1 parent 62b4b250c7
commit ab45591507
38 files changed
+397 -618

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
namespace esphome::socket {
#if defined(USE_SOCKET_SELECT_SUPPORT) && !defined(USE_LWIP_FAST_SELECT)
#ifdef USE_HOST
// Shared ready() implementation for fd-based socket implementations (BSD and LWIP sockets).
// Checks if the Application's select() loop has marked this fd as ready.
bool socket_ready_fd(int fd, bool loop_monitored) { return !loop_monitored || App.is_socket_ready_(fd); }