diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-05 10:34:09 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-09-05 10:34:09 +0000 |
commit | 95d85de7d5eb11653e1060168904171238a85721 (patch) | |
tree | 0eacb7664f84c1b8b4a3dffcfd2eb501e56c8f8b /demos/rt | |
parent | 867c7c95aa67ea1f19286c3593500214101bacd9 (diff) | |
download | ChibiOS-95d85de7d5eb11653e1060168904171238a85721.tar.gz ChibiOS-95d85de7d5eb11653e1060168904171238a85721.tar.bz2 ChibiOS-95d85de7d5eb11653e1060168904171238a85721.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6263 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/rt')
-rw-r--r-- | demos/rt/RT-STM32F303-DISCOVERY/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/rt/RT-STM32F303-DISCOVERY/main.c b/demos/rt/RT-STM32F303-DISCOVERY/main.c index 0b220b6d4..72b3994bc 100644 --- a/demos/rt/RT-STM32F303-DISCOVERY/main.c +++ b/demos/rt/RT-STM32F303-DISCOVERY/main.c @@ -27,7 +27,7 @@ static msg_t Thread1(void *arg) { (void)arg;
chRegSetThreadName("blinker");
- while (TRUE) {
+ while (true) {
palSetPad(GPIOE, GPIOE_LED3_RED);
chThdSleepMilliseconds(125);
palClearPad(GPIOE, GPIOE_LED3_RED);
@@ -61,7 +61,7 @@ static msg_t Thread1(void *arg) { (void)arg;
chRegSetThreadName("blinker1");
- while (TRUE) {
+ while (true) {
palSetPad(GPIOE, GPIOE_LED3_RED);
chThdSleepMilliseconds(250);
palClearPad(GPIOE, GPIOE_LED3_RED);
@@ -74,7 +74,7 @@ static msg_t Thread2(void *arg) { (void)arg;
chRegSetThreadName("blinker2");
- while (TRUE) {
+ while (true) {
palSetPad(GPIOE, GPIOE_LED4_BLUE);
chThdSleepMilliseconds(500);
palClearPad(GPIOE, GPIOE_LED4_BLUE);
|