aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR/I2C/main.c
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 /testhal/AVR/I2C/main.c
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 'testhal/AVR/I2C/main.c')
-rw-r--r--testhal/AVR/I2C/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/testhal/AVR/I2C/main.c b/testhal/AVR/I2C/main.c
index fc68956c3..50d979693 100644
--- a/testhal/AVR/I2C/main.c
+++ b/testhal/AVR/I2C/main.c
@@ -20,11 +20,10 @@
static WORKING_AREA(waThread1, 32);
static msg_t Thread1(void *arg) {
- while (TRUE) {
+ while (true) {
palTogglePad(IOPORT2, PORTB_LED1);
chThdSleepMilliseconds(1000);
}
- return 0;
}
/*