Hi,
I created a task as a routine, but when I want to use the API functions in FREERTOS, their parameters need the task handle returned when creating the task, but the routine created the task and did not return the relevant task handle. What should I do? Please tell me the solution.
For example, the first parameter of the following API function, how should the task handle be passed?
void vTaskNotifyGiveFromISR( TaskHandle_t xTaskToNotify,
BaseType_t *pxHigherPriorityTaskWoken );