sched: fix create_idle_thread() not initialising tr_parent

This commit is contained in:
2023-05-03 20:19:11 +01:00
parent cbd6aae037
commit 3a315901ba

View File

@@ -77,6 +77,7 @@ struct thread *create_idle_thread(void)
struct thread *thr = thread_alloc();
thr->tr_parent = idle;
thr->tr_prio = PRIO_NORMAL;
thr->tr_state = THREAD_READY;
thr->tr_quantum_target = default_quantum();