diff options
Diffstat (limited to 'demos/rt/RT-STM32F373-STM32373C_EVAL/main.c')
| -rw-r--r-- | demos/rt/RT-STM32F373-STM32373C_EVAL/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/rt/RT-STM32F373-STM32373C_EVAL/main.c b/demos/rt/RT-STM32F373-STM32373C_EVAL/main.c index 71df36c02..0b237e0ad 100644 --- a/demos/rt/RT-STM32F373-STM32373C_EVAL/main.c +++ b/demos/rt/RT-STM32F373-STM32373C_EVAL/main.c @@ -21,10 +21,11 @@ /*
* This is a periodic thread that does absolutely nothing except flashing LEDs.
*/
-static WORKING_AREA(waThread1, 128);
-static msg_t Thread1(void *arg) {
+static THD_WORKING_AREA(waThread1, 128);
+static THD_FUNCTION(Thread1, arg) {
(void)arg;
+
chRegSetThreadName("blinker");
while (TRUE) {
palClearPad(GPIOC, GPIOC_LED1);
|
