diff --git a/kernel/src/thread/Scheduler.cpp b/kernel/src/thread/Scheduler.cpp index 9e90e1a3..3f3df15f 100644 --- a/kernel/src/thread/Scheduler.cpp +++ b/kernel/src/thread/Scheduler.cpp @@ -106,6 +106,7 @@ Task* Scheduler::create_user_task() new_task->next_task = base_task; end_task = new_task; task_num++; + return new_task; } void Scheduler::load_user_task(const char* filename)