Merge remote-tracking branch 'origin/esp8266-wake-loop-any-context' into integration

This commit is contained in:
J. Nick Koston
2026-02-28 15:46:49 -10:00
+6
View File
@@ -643,6 +643,12 @@ class Application {
#endif
#endif
#if defined(USE_ESP8266) && defined(USE_SOCKET_IMPL_LWIP_TCP)
/// Wake the main event loop from any context (ISR, thread, or main loop).
/// On ESP8266: sets the socket wake flag and calls esp_schedule() to exit esp_delay() early.
static void IRAM_ATTR wake_loop_any_context() { socket::socket_wake(); }
#endif
protected:
friend Component;
friend class socket::Socket;