aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32L152RE-NUCLEO/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32L152RE-NUCLEO/main.c')
-rw-r--r--demos/STM32/RT-STM32L152RE-NUCLEO/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32L152RE-NUCLEO/main.c b/demos/STM32/RT-STM32L152RE-NUCLEO/main.c
index 06e9079f0..dea524833 100644
--- a/demos/STM32/RT-STM32L152RE-NUCLEO/main.c
+++ b/demos/STM32/RT-STM32L152RE-NUCLEO/main.c
@@ -21,8 +21,8 @@
/*
* Red LED blinker thread, times are in milliseconds.
*/
-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");