aboutsummaryrefslogtreecommitdiffstats
path: root/demos/rt/RT-STM32F373-STM32373C_EVAL/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-28 08:14:46 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-28 08:14:46 +0000
commitec870b97c19ecdc5a458364394ba95c9b99cd9ce (patch)
tree77adf2f9cf5b96b28a5bcb29b91c36d8b40acfcd /demos/rt/RT-STM32F373-STM32373C_EVAL/main.c
parent88a906689e3da94b9d520508c90595919aafeb9a (diff)
downloadChibiOS-ec870b97c19ecdc5a458364394ba95c9b99cd9ce.tar.gz
ChibiOS-ec870b97c19ecdc5a458364394ba95c9b99cd9ce.tar.bz2
ChibiOS-ec870b97c19ecdc5a458364394ba95c9b99cd9ce.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6323 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/rt/RT-STM32F373-STM32373C_EVAL/main.c')
-rw-r--r--demos/rt/RT-STM32F373-STM32373C_EVAL/main.c5
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);