diff --git a/esphome/core/task_priorities.h b/esphome/core/task_priorities.h index 42199c11bd3..a177dde20c9 100644 --- a/esphome/core/task_priorities.h +++ b/esphome/core/task_priorities.h @@ -1,5 +1,7 @@ #pragma once +#ifdef USE_ESP32 + #include namespace esphome { @@ -55,3 +57,5 @@ static constexpr UBaseType_t TASK_PRIORITY_INFERENCE = configMAX_PRIORITIES - 13 static constexpr UBaseType_t TASK_PRIORITY_APPLICATION = tskIDLE_PRIORITY + 1; } // namespace esphome + +#endif // USE_ESP32