aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F103RB-NUCLEO/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-02 09:43:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-10-02 09:43:28 +0000
commit60bf87e37ea4d09f72fe72ad9a597da2fc9e7bd7 (patch)
tree1d366504120c3b60002291408afb26b081f99c8b /demos/STM32/RT-STM32F103RB-NUCLEO/main.c
parent99afdcbdb1d671ed28c8215029e766635262967e (diff)
downloadChibiOS-60bf87e37ea4d09f72fe72ad9a597da2fc9e7bd7.tar.gz
ChibiOS-60bf87e37ea4d09f72fe72ad9a597da2fc9e7bd7.tar.bz2
ChibiOS-60bf87e37ea4d09f72fe72ad9a597da2fc9e7bd7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7340 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F103RB-NUCLEO/main.c')
-rw-r--r--demos/STM32/RT-STM32F103RB-NUCLEO/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F103RB-NUCLEO/main.c b/demos/STM32/RT-STM32F103RB-NUCLEO/main.c
index 06e9079f0..dea524833 100644
--- a/demos/STM32/RT-STM32F103RB-NUCLEO/main.c
+++ b/demos/STM32/RT-STM32F103RB-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");