aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-24 12:28:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-09-24 12:28:07 +0000
commitc9205e2fd961c60cffd1000936340806a8e45558 (patch)
tree17a2d7da8aa845a1db466985ec5cf53f8bfff389 /demos/ARM7-LPC214x-GCC
parentb72177007695129c089c58f65d05ae6178f604a3 (diff)
downloadChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.tar.gz
ChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.tar.bz2
ChibiOS-c9205e2fd961c60cffd1000936340806a8e45558.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@442 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC')
-rw-r--r--demos/ARM7-LPC214x-GCC/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARM7-LPC214x-GCC/main.c b/demos/ARM7-LPC214x-GCC/main.c
index d83a386d5..588bd21af 100644
--- a/demos/ARM7-LPC214x-GCC/main.c
+++ b/demos/ARM7-LPC214x-GCC/main.c
@@ -131,8 +131,8 @@ int main(int argc, char **argv) {
* are not started in order to make accurate benchmarks.
*/
if ((IO0PIN & 0x00018000) == 0x00018000) {
- chThdCreateFast(NORMALPRIO, waThread1, sizeof(waThread1), Thread1);
- chThdCreateFast(NORMALPRIO, waThread2, sizeof(waThread2), Thread2);
+ chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
+ chThdCreateStatic(waThread2, sizeof(waThread2), NORMALPRIO, Thread2, NULL);
}
/*