From 15d0007e9687428fe314e1369a9bb4eeb427cfcc Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 3 Apr 2015 12:48:22 +0000 Subject: 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 --- demos/KINETIS/RT-MCHCK-K20-SPI/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'demos/KINETIS/RT-MCHCK-K20-SPI') 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; } /* -- cgit v1.2.3