aboutsummaryrefslogtreecommitdiffstats
path: root/demos/KINETIS/RT-MCHCK-K20-SPI
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-04-03 12:48:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-04-03 12:48:22 +0000
commit15d0007e9687428fe314e1369a9bb4eeb427cfcc (patch)
tree0ac60d4ec0245764ad601d763b0d3d5dc7c76539 /demos/KINETIS/RT-MCHCK-K20-SPI
parent67b6d6cebf167faaf544886e1b1f41aaa404cb35 (diff)
downloadChibiOS-15d0007e9687428fe314e1369a9bb4eeb427cfcc.tar.gz
ChibiOS-15d0007e9687428fe314e1369a9bb4eeb427cfcc.tar.bz2
ChibiOS-15d0007e9687428fe314e1369a9bb4eeb427cfcc.zip
Mass change, all thread functions now return void.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7849 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/KINETIS/RT-MCHCK-K20-SPI')
-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;
}
/*