refactor(freertos/idf): Implicitly include idf_additions.h from FreeRTOS.h

This commit adds an implicit inclusion of `idf_additions.h` to `FreeRTOS.h` in
preparation for moving some IDf specific API to `idf_additions.h`.

This implict inclusion allows existing code to be continue using these
relocated APIs without any changes in header inclusions.

Also removed "#pragma once" directive from "freertos_tasks_c_additions.h" since
that header is included as a source file.
This commit is contained in:
Darian Leung
2023-08-29 16:48:30 +08:00
parent b4cc451321
commit 5227616e57
4 changed files with 50 additions and 11 deletions

View File

@@ -3321,8 +3321,6 @@ core 0 during startup.
void vTaskStartSchedulerOtherCores( void );
#endif // configNUM_CORES > 1
#include "freertos/idf_additions.h"
#endif //ESP_PLATFORM
/* *INDENT-OFF* */