aboutsummaryrefslogtreecommitdiffstats
path: root/demos/nil/NIL-STM32F303-DISCOVERY
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-11 13:00:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-11 13:00:24 +0000
commit7f3e0e57b2a13aa4797a8409e6e63671cb6d6993 (patch)
treeee6dc2a23554eb38ca360393d91cf7a0867360c1 /demos/nil/NIL-STM32F303-DISCOVERY
parent4541bd732acf21e30f40f5b6c991172e2e350cb0 (diff)
downloadChibiOS-7f3e0e57b2a13aa4797a8409e6e63671cb6d6993.tar.gz
ChibiOS-7f3e0e57b2a13aa4797a8409e6e63671cb6d6993.tar.bz2
ChibiOS-7f3e0e57b2a13aa4797a8409e6e63671cb6d6993.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6701 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/nil/NIL-STM32F303-DISCOVERY')
-rw-r--r--demos/nil/NIL-STM32F303-DISCOVERY/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/main.c b/demos/nil/NIL-STM32F303-DISCOVERY/main.c
index 2b648ff29..b928874f3 100644
--- a/demos/nil/NIL-STM32F303-DISCOVERY/main.c
+++ b/demos/nil/NIL-STM32F303-DISCOVERY/main.c
@@ -111,7 +111,7 @@ THD_FUNCTION(Thread3, arg) {
THD_TABLE_BEGIN
THD_TABLE_ENTRY(waThread1, "blinker1", Thread1, NULL)
THD_TABLE_ENTRY(waThread2, "blinker2", Thread2, NULL)
- THD_TABLE_ENTRY(wa_test_support, "test_support", test_support, NULL)
+ THD_TABLE_ENTRY(wa_test_support, "test_support", test_support, (void *)&nil.threads[3])
THD_TABLE_ENTRY(waThread3, "tester", Thread3, NULL)
THD_TABLE_END