diff --git a/components/esp32/include/esp_task.h b/components/esp32/include/esp_task.h index f70af2aee0..6f08e0ae40 100644 --- a/components/esp32/include/esp_task.h +++ b/components/esp32/include/esp_task.h @@ -27,6 +27,7 @@ * 5. Make sure esp_task.h is consistent between wifi lib and idf */ +#define ESP_TASK_PRIO_MAX (configMAX_PRIORITIES) #define ESP_TASK_PRIO_MIN (0) /* Wifi library task */