feat(freertos): API compatible with esp-idf

This commit is contained in:
Dong Heng
2018-10-11 13:54:35 +08:00
parent 93e9b1c3d3
commit 486da348bf

View File

@ -238,6 +238,10 @@ uint32_t xPortGetTickRateHz(void);
void _xt_enter_first_task(void);
/* API compatible with esp-idf */
#define xTaskCreatePinnedToCore(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask, tskNO_AFFINITY) \
xTaskCreate(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask)
#ifdef __cplusplus
}
#endif