esp32: Add missing header file in esp_task.h

This commit adds a missing header file in esp_task.h
required for configMAX_PRIORITIES.

Closes #2341
This commit is contained in:
Darian Leung 2018-09-25 11:21:23 +08:00
parent d68df94d2b
commit 3c362f4d75

View File

@ -27,6 +27,7 @@
#define _ESP_TASK_H_
#include "sdkconfig.h"
#include "freertos/FreeRTOSConfig.h"
#define ESP_TASK_PRIO_MAX (configMAX_PRIORITIES)
#define ESP_TASK_PRIO_MIN (0)