freertos: remove portmacro.h inclusion from task.h

This commit removes the portmacro.h include from task.h as portmacro.h
gets pulled in via FreeRTOS.h. This aligns with upstream FreeRTOS code.

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
This commit is contained in:
Sudeep Mohanty 2021-12-08 11:01:31 +05:30
parent 2934010950
commit ee9a102841

View File

@ -33,9 +33,6 @@
#endif
#include "list.h"
#ifdef ESP_PLATFORM // IDF-3793
#include "freertos/portmacro.h"
#endif // ESP_PLATFORM
/* *INDENT-OFF* */
#ifdef __cplusplus