Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
freertos: Fix idf_additions.h include order error
When building for CONFIG_FREERTOS_SMP, "idf_additions.h" was previously implicitly included by "task.h" so that other ESP-IDF components still have access to IDF API additions without needing to include "idf_additions.h" directly. However, some FreeRTOS headers (e.g., queue.h) will include task.h before declaring any types (e.g., QueueHandle_t). Thus if any of those types are used in idf_additions.h, we get a missing type error. This commit moves the implicity include of idf_additions.h to FreeRTOS.h
- Loading branch information