From e60969b37a06ead0996a6268472b39a15499427c Mon Sep 17 00:00:00 2001 From: Starnakin Date: Tue, 28 Jan 2025 15:10:13 +0100 Subject: [PATCH] fix: multitasking: switch to task --- src/multitasking/task.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/multitasking/task.c b/src/multitasking/task.c index 76f00a9..f99fef1 100644 --- a/src/multitasking/task.c +++ b/src/multitasking/task.c @@ -6,6 +6,7 @@ #include "kprintf.h" #include "memory.h" +#include #include u32 esp_backup; @@ -88,4 +89,5 @@ void exit_task(void) else current_task->status = STOPPED; toris(); + asm volatile("jmp scheduler"); }