aboutsummaryrefslogtreecommitdiffstats
path: root/src/chinit.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-20 15:34:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-20 15:34:56 +0000
commit2a9e6947a1c0cefe24f8ac7f1b4997e0f661572f (patch)
tree487e1efe05d2a1a8b6c60a9f773fe62bc4e04ac8 /src/chinit.c
parent8248aca2825c3650d0aeb43bb999b23fd2997804 (diff)
downloadChibiOS-2a9e6947a1c0cefe24f8ac7f1b4997e0f661572f.tar.gz
ChibiOS-2a9e6947a1c0cefe24f8ac7f1b4997e0f661572f.tar.bz2
ChibiOS-2a9e6947a1c0cefe24f8ac7f1b4997e0f661572f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@434 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chinit.c')
-rw-r--r--src/chinit.c6
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);
}
/**