mirror of
https://github.com/esphome/esphome.git
synced 2026-07-11 09:25:34 +00:00
Deduplicate wakeable_delay call in yield_with_select_
This commit is contained in:
@@ -915,10 +915,8 @@ inline void ESPHOME_ALWAYS_INLINE Application::yield_with_select_(uint32_t delay
|
||||
|
||||
// Sleep with instant wake via FreeRTOS task notification.
|
||||
// Woken by: callback wrapper (socket data), wake_loop_threadsafe() (background tasks), or timeout.
|
||||
esphome::wakeable_delay(delay_ms);
|
||||
#else
|
||||
esphome::wakeable_delay(delay_ms);
|
||||
#endif
|
||||
esphome::wakeable_delay(delay_ms);
|
||||
}
|
||||
#endif // !USE_SOCKET_SELECT_SUPPORT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user