diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-10 06:50:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-10 06:50:12 +0000 |
commit | 8f03a390471628081bd78b7c5f34a0a6a404ee95 (patch) | |
tree | ac85f340f703590020b526b4d853a4c30ef06ca0 /demos/ARM7-AT91SAM7S-FATFS-GCC | |
parent | b38e1f2c96ca1940f210be9ec2de6eeb076f1a10 (diff) | |
download | ChibiOS-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/ARM7-AT91SAM7S-FATFS-GCC')
-rw-r--r-- | demos/ARM7-AT91SAM7S-FATFS-GCC/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c b/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c index c88480673..c525cdc54 100644 --- a/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c +++ b/demos/ARM7-AT91SAM7S-FATFS-GCC/main.c @@ -228,6 +228,7 @@ static WORKING_AREA(waThread1, 128); static msg_t Thread1(void *arg) {
(void)arg;
+ chRegSetThreadName("blinker1");
while (TRUE) {
palTogglePad(IOPORT1, PIOA_LED1);
if (fs_ready)
@@ -245,6 +246,7 @@ static WORKING_AREA(waThread2, 64); static msg_t Thread2(void *p) {
(void)p;
+ chRegSetThreadName("blinker2");
while (TRUE) {
palSetPad(IOPORT1, PIOA_LED2);
chThdSleepMilliseconds(100);
|