From 78853170f8304ca7af29e7383f5efccedaf21454 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 17 Feb 2021 18:38:54 -0500 Subject: fixing waits output in alt+pause --- src/kernel/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/task.c') diff --git a/src/kernel/task.c b/src/kernel/task.c index 8d8de86..93310bc 100644 --- a/src/kernel/task.c +++ b/src/kernel/task.c @@ -296,7 +296,7 @@ void unwait(struct task_state *task, struct wait wait) { default: PANIC("Unwait matched with unrecognized wait mode."); } - for (uint8_t i = 0; i < MAX_WAITS; ++i) + for (i = 0; i < MAX_WAITS; ++i) task->waits[i].mode = NONE; task->waiting = false; return; -- cgit v1.2.3