[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 Koston
2026-04-06 21:01:03 +00:00
committed by GitHub
co-authored by Jonathan Swoboda
parent 62b4b250c7
commit ab45591507
38 changed files with 397 additions and 618 deletions
+1 -3
View File
@@ -325,10 +325,8 @@ void USBUartComponent::start_input(USBUartChannel *channel) {
// Re-enable component loop to process the queued data
this->enable_loop_soon_any_context();
// Wake main loop immediately to process USB data instead of waiting for select() timeout
#if defined(USE_SOCKET_SELECT_SUPPORT) && defined(USE_WAKE_LOOP_THREADSAFE)
// Wake main loop immediately to process USB data
App.wake_loop_threadsafe();
#endif
}
// On success, restart input immediately from USB task for performance