aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F37x/CAN/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/STM32F37x/CAN/main.c')
-rw-r--r--testhal/STM32/STM32F37x/CAN/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testhal/STM32/STM32F37x/CAN/main.c b/testhal/STM32/STM32F37x/CAN/main.c
index 21da0b697..5b50a102e 100644
--- a/testhal/STM32/STM32F37x/CAN/main.c
+++ b/testhal/STM32/STM32F37x/CAN/main.c
@@ -47,7 +47,6 @@ static THD_FUNCTION(can_rx, p) {
}
}
chEvtUnregister(&CAND1.rxfull_event, &el);
- return 0;
}
/*
@@ -70,7 +69,6 @@ static THD_FUNCTION(can_tx, p) {
canTransmit(&CAND1, CAN_ANY_MAILBOX, &txmsg, MS2ST(100));
chThdSleepMilliseconds(500);
}
- return 0;
}
/*
@@ -102,7 +100,7 @@ int main(void) {
/*
* Normal main() thread activity, in this demo it does nothing.
*/
- while (TRUE) {
+ while (true) {
chThdSleepMilliseconds(500);
}
return 0;