aboutsummaryrefslogtreecommitdiffstats
path: root/demos/nil/NIL-STM32F051-DISCOVERY/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/nil/NIL-STM32F051-DISCOVERY/main.c')
-rw-r--r--demos/nil/NIL-STM32F051-DISCOVERY/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/nil/NIL-STM32F051-DISCOVERY/main.c b/demos/nil/NIL-STM32F051-DISCOVERY/main.c
index f601b10a4..2600550bb 100644
--- a/demos/nil/NIL-STM32F051-DISCOVERY/main.c
+++ b/demos/nil/NIL-STM32F051-DISCOVERY/main.c
@@ -55,10 +55,10 @@ THD_FUNCTION(Thread2, arg) {
* Threads static table, one entry per thread. The number of entries must
* match NIL_CFG_NUM_THREADS.
*/
-NIL_THREADS_TABLE_BEGIN()
- NIL_THREADS_TABLE_ENTRY("thread1", Thread1, NULL, waThread1, sizeof(waThread1))
- NIL_THREADS_TABLE_ENTRY("thread2", Thread2, NULL, waThread2, sizeof(waThread2))
-NIL_THREADS_TABLE_END()
+THD_TABLE_BEGIN
+ THD_TABLE_ENTRY("thread1", Thread1, NULL, waThread1, sizeof(waThread1))
+ THD_TABLE_ENTRY("thread2", Thread2, NULL, waThread2, sizeof(waThread2))
+THD_TABLE_END
/*
* Application entry point.