FreeRTOS: Remove task_snapshot inclusion from task.h

Remove ESP's addition of task_snapshot.h from task.h. This line was
added previously for backward compatibility. For IDF v5.0, this can
be removed.
pull/8162/head
Omar Chebib 2021-12-02 10:28:38 +08:00
rodzic 59f3d98d45
commit fcd11ba125
2 zmienionych plików z 5 dodań i 4 usunięć

Wyświetl plik

@ -3492,10 +3492,6 @@ TaskHandle_t pvTaskIncrementMutexHeldCount( void ) PRIVILEGED_FUNCTION;
*/
void vTaskInternalSetTimeOutState( TimeOut_t * const pxTimeOut ) PRIVILEGED_FUNCTION;
#ifdef ESP_PLATFORM
/* TODO: IDF-3683 */
#include "freertos/task_snapshot.h"
#endif // ESP_PLATFORM
/** @endcond */

Wyświetl plik

@ -33,3 +33,8 @@ The header ``trax.h`` has been made private. ESP-IDF developers should include `
ROM
---
Deprecated ROM related header files from `components/esp32/rom/` (old include path: `rom/*.h`) have been deleted. Please update to use the new target-specific path from `components/esp_rom/include/{IDF_TARGET_NAME}/` (new include path: `{IDF_TARGET_NAME}/rom/*.h`).
Tasks snapshot
--------------
The header ``task_snapshot.h`` has been removed from ``freertos/task.h``. ESP-IDF developers should include ``"freertos/task_snapshot.h``` in case they need tasks snapshot API.