aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-10 06:50:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-10 06:50:12 +0000
commit8f03a390471628081bd78b7c5f34a0a6a404ee95 (patch)
treeac85f340f703590020b526b4d853a4c30ef06ca0 /demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
parentb38e1f2c96ca1940f210be9ec2de6eeb076f1a10 (diff)
downloadChibiOS-8f03a390471628081bd78b7c5f34a0a6a404ee95.tar.gz
ChibiOS-8f03a390471628081bd78b7c5f34a0a6a404ee95.tar.bz2
ChibiOS-8f03a390471628081bd78b7c5f34a0a6a404ee95.zip
Added thread names to all demos.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3143 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c')
-rw-r--r--demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
index 4582d0701..b631d28e6 100644
--- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
+++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c
@@ -29,6 +29,7 @@ static WORKING_AREA(waThread1, 64);
static msg_t Thread1(void *arg) {
(void)arg;
+ chRegSetThreadName("blinker");
while (TRUE) {
palSetPad(GPIOC, PC_LED4);
chThdSleepMilliseconds(250);