diff options
Diffstat (limited to 'demos/rt/RT-STM32F051-DISCOVERY/main.c')
-rw-r--r-- | demos/rt/RT-STM32F051-DISCOVERY/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/rt/RT-STM32F051-DISCOVERY/main.c b/demos/rt/RT-STM32F051-DISCOVERY/main.c index ea6ed9f39..cc7753756 100644 --- a/demos/rt/RT-STM32F051-DISCOVERY/main.c +++ b/demos/rt/RT-STM32F051-DISCOVERY/main.c @@ -22,7 +22,7 @@ * Blue LED blinker thread, times are in milliseconds.
*/
static THD_WORKING_AREA(waThread1, 128);
-static msg_t Thread1(void *arg) {
+static THD_FUNCTION(Thread1, arg) {
(void)arg;
chRegSetThreadName("blinker1");
@@ -38,7 +38,7 @@ static msg_t Thread1(void *arg) { * Green LED blinker thread, times are in milliseconds.
*/
static THD_WORKING_AREA(waThread2, 128);
-static msg_t Thread2(void *arg) {
+static THD_FUNCTION(Thread2, arg) {
(void)arg;
chRegSetThreadName("blinker2");
|