Update task.c

This commit is contained in:
N 2021-01-16 20:31:09 -05:00
parent 26246ce281
commit 6b5ce647df

View file

@ -136,7 +136,7 @@ void TaskDummy(u8 taskId)
{
}
#define TASK_SPACE NUM_TASKS - 2 // So we can insert the two tasks at the last two array elements
#define TASK_SPACE NUM_TASKS - 2 // So we can reserve space for the last array element
void SetTaskFuncWithFollowupFunc(u8 taskId, TaskFunc func, TaskFunc followupFunc)
{
u8 taskNum = TASK_SPACE; // Should be const