aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-ARDUINOMEGA/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR/RT-ARDUINOMEGA/main.c')
-rw-r--r--demos/AVR/RT-ARDUINOMEGA/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/AVR/RT-ARDUINOMEGA/main.c b/demos/AVR/RT-ARDUINOMEGA/main.c
index 0228c440b..4db566c40 100644
--- a/demos/AVR/RT-ARDUINOMEGA/main.c
+++ b/demos/AVR/RT-ARDUINOMEGA/main.c
@@ -21,11 +21,10 @@
static WORKING_AREA(waThread1, 32);
static msg_t Thread1(void *arg) {
- while (TRUE) {
+ while (true) {
palTogglePad(IOPORT2, PORTB_LED1);
chThdSleepMilliseconds(1000);
}
- return 0;
}
/*