diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/nil/NIL-STM32F303-DISCOVERY/main.c | 3 | ||||
-rw-r--r-- | demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/main.c b/demos/nil/NIL-STM32F303-DISCOVERY/main.c index db842415f..2b648ff29 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/main.c +++ b/demos/nil/NIL-STM32F303-DISCOVERY/main.c @@ -78,7 +78,7 @@ static THD_FUNCTION(Thread2, arg) { }
/*
- * Hello thread.
+ * Tester thread.
*/
THD_WORKING_AREA(waThread3, 128);
THD_FUNCTION(Thread3, arg) {
@@ -111,6 +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(waThread3, "tester", Thread3, NULL)
THD_TABLE_END
diff --git a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h index 35504197e..76028b31d 100644 --- a/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h +++ b/demos/nil/NIL-STM32F303-DISCOVERY/nilconf.h @@ -40,7 +40,7 @@ * @note This number is not inclusive of the idle thread which is
* Implicitly handled.
*/
-#define NIL_CFG_NUM_THREADS 3
+#define NIL_CFG_NUM_THREADS 4
/** @} */
|