Replace unreachable delay fallback with #error

This commit is contained in:
J. Nick Koston
2026-04-04 10:38:27 -10:00
parent 91bfa8d4fa
commit bfad79f34c
+1 -2
View File
@@ -935,8 +935,7 @@ inline void ESPHOME_ALWAYS_INLINE Application::yield_with_select_(uint32_t delay
// RP2040: hardware timer + __wfe()/__sev()
esphome::wakeable_delay(delay_ms);
#else
// No wake mechanism available, use regular delay
delay(delay_ms);
#error "No wakeable delay implementation for this platform"
#endif
}
#endif // !defined(USE_SOCKET_SELECT_SUPPORT) || defined(USE_LWIP_FAST_SELECT)