diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-29 10:54:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-11-29 10:54:24 +0000 |
commit | b3e92dc72078603137a7182759419e2b801755b9 (patch) | |
tree | f6a55965ea67966ed2cb283ea7830a428878818d /src/chinit.c | |
parent | 4c4689df98554b3089d1dd66c60f92deab9d1603 (diff) | |
download | ChibiOS-b3e92dc72078603137a7182759419e2b801755b9.tar.gz ChibiOS-b3e92dc72078603137a7182759419e2b801755b9.tar.bz2 ChibiOS-b3e92dc72078603137a7182759419e2b801755b9.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@521 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chinit.c')
-rw-r--r-- | src/chinit.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/chinit.c b/src/chinit.c index d93ac1581..a675d6910 100644 --- a/src/chinit.c +++ b/src/chinit.c @@ -33,7 +33,7 @@ */ void chSysInit(void) { static Thread mainthread; - static WorkingArea(waIdleThread, IDLE_THREAD_STACK_SIZE); + static WORKING_AREA(idle_wa, IDLE_THREAD_STACK_SIZE); chSchInit(); chDbgInit(); @@ -54,8 +54,7 @@ void chSysInit(void) { * serve interrupts in its context while keeping the lowest energy saving * mode compatible with the system status. */ - chThdCreateStatic(waIdleThread, sizeof(waIdleThread), - IDLEPRIO, (tfunc_t)_IdleThread, NULL); + chThdCreateStatic(idle_wa, sizeof(idle_wa), IDLEPRIO, (tfunc_t)_idle, NULL); } /** |