[esp32] Centralize FreeRTOS task priorities and reduce MAX_PRIORITIES to 16

This commit is contained in:
J. Nick Koston
2026-01-31 11:58:30 -06:00
parent 6f6c252b84
commit 0b444f5504

View File

@@ -1,5 +1,7 @@
#pragma once
#ifdef USE_ESP32
#include <freertos/FreeRTOS.h>
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