From bfad79f34c37ba38b80e131e64e6f05e6eee10b0 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 4 Apr 2026 10:38:27 -1000 Subject: [PATCH] Replace unreachable delay fallback with #error --- esphome/core/application.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/core/application.h b/esphome/core/application.h index 900c11966d..66bf189fa9 100644 --- a/esphome/core/application.h +++ b/esphome/core/application.h @@ -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)