13static TaskHandle_t tasklist[MAX_TASKS];
26 for (
int i = 0; i < MAX_TASKS; i++) {
27 if (!strcmp(pcTaskGetName(tasklist[i]), name))
44 for (
int i = 0; i < MAX_TASKS; i++) {
45 if (tasklist[i] == NULL)
TaskHandle_t * TaskList_new()
Retrieve a pointer to the first empty task handle in list.
TaskHandle_t * TaskList_getTaskByName(char *name)
Retrieve task handle from list by name string.