FreeRTOS type updates. (#261)

This commit is contained in:
Our Air Quality 2016-11-05 21:04:03 +11:00 committed by sheinz
parent 4c84b64566
commit a5cc728079
53 changed files with 151 additions and 148 deletions

View file

@ -52,10 +52,10 @@ uint8_t sdk_user_init_flag;
struct sdk_info_st sdk_info;
// xUserTaskHandle -- .bss+0x28
xTaskHandle sdk_xUserTaskHandle;
TaskHandle_t sdk_xUserTaskHandle;
// xWatchDogTaskHandle -- .bss+0x2c
xTaskHandle sdk_xWatchDogTaskHandle;
TaskHandle_t sdk_xWatchDogTaskHandle;
/* Static function prototypes */
@ -227,7 +227,7 @@ void IRAM sdk_user_start(void) {
}
// .text+0x3a8
void IRAM vApplicationStackOverflowHook(xTaskHandle task, char *task_name) {
void IRAM vApplicationStackOverflowHook(TaskHandle_t task, char *task_name) {
printf("Task stack overflow (high water mark=%lu name=\"%s\")\n", uxTaskGetStackHighWaterMark(task), task_name);
}

View file

@ -114,7 +114,7 @@ static struct {
uint32_t end_addr;
size_t region_size;
bool force_compact;
xSemaphoreHandle sem;
SemaphoreHandle_t sem;
} _sysparam_info;
/***************************** Internal routines *****************************/