aboutsummaryrefslogtreecommitdiffstats
path: root/src/chinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chinit.c')
-rw-r--r--src/chinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chinit.c b/src/chinit.c
index 213f8b4e8..ec7626e6a 100644
--- a/src/chinit.c
+++ b/src/chinit.c
@@ -43,7 +43,7 @@ void chSysInit(void) {
/*
* Now this instructions flow becomes the main thread.
*/
- _InitThread(NORMALPRIO, 0, &mainthread);
+ init_thread(NORMALPRIO, 0, &mainthread);
mainthread.p_state = PRCURR;
currp = &mainthread;