aboutsummaryrefslogtreecommitdiffstats
path: root/demos/KINETIS/RT-MCHCK-K20-SPI/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/KINETIS/RT-MCHCK-K20-SPI/main.c')
-rw-r--r--demos/KINETIS/RT-MCHCK-K20-SPI/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/KINETIS/RT-MCHCK-K20-SPI/main.c b/demos/KINETIS/RT-MCHCK-K20-SPI/main.c
index b7530d2f2..909475944 100644
--- a/demos/KINETIS/RT-MCHCK-K20-SPI/main.c
+++ b/demos/KINETIS/RT-MCHCK-K20-SPI/main.c
@@ -42,7 +42,7 @@ static THD_FUNCTION(Thread1, arg) {
(void)arg;
chRegSetThreadName("Blinker");
- while (TRUE) {
+ while (true) {
palSetPad(GPIOB, GPIOB_LED);
/* Send the Manufacturer and Device ID Read command */
@@ -54,8 +54,6 @@ static THD_FUNCTION(Thread1, arg) {
chThdSleepMilliseconds(1000);
}
-
- return 0;
}
/*