diff options
Diffstat (limited to 'src/chinit.c')
-rw-r--r-- | src/chinit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chinit.c b/src/chinit.c index 5e6788693..0063fa458 100644 --- a/src/chinit.c +++ b/src/chinit.c @@ -49,7 +49,7 @@ void chSysInit(void) { /* * Now this instructions flow becomes the main thread. */ - init_thread(NORMALPRIO, 0, &mainthread); + init_thread(NORMALPRIO, &mainthread); mainthread.p_state = PRCURR; currp = &mainthread; @@ -61,8 +61,8 @@ void chSysInit(void) { * serve interrupts in its context while keeping the lowest energy saving * mode compatible with the system status. */ - chThdCreateFast(IDLEPRIO, waIdleThread, - sizeof(waIdleThread), (tfunc_t)_IdleThread); + chThdCreateFast(IDLEPRIO, waIdleThread, sizeof(waIdleThread), + (tfunc_t)_IdleThread); } /** |