diff options
author | N <71219152+PokeCodec@users.noreply.github.com> | 2021-01-16 21:35:40 -0500 |
---|---|---|
committer | N <71219152+PokeCodec@users.noreply.github.com> | 2021-01-16 21:35:40 -0500 |
commit | e7436ab4c86ebf4ba7266dbfc88a49a29d1caa2c (patch) | |
tree | 2ceba3e61f9e7b17f65b89bc249635ab86983bba /src/task.c | |
parent | 0159c0c1ae336ccded07a912466870eb452ba608 (diff) |
Update task.c
Diffstat (limited to 'src/task.c')
-rw-r--r-- | src/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/task.c b/src/task.c index 6c8ccdfb0..512e838b7 100644 --- a/src/task.c +++ b/src/task.c @@ -171,7 +171,7 @@ u8 FindTaskIdByFunc(TaskFunc func) if (gTasks[i].isActive == TRUE && gTasks[i].func == func) return (u8)i; - return TAIL_SENTINEL; // No task found + return 0xFF; // No task found } u8 GetTaskCount(void) |