diff options
Diffstat (limited to 'testhal/STM32/CAN/main.c')
-rw-r--r-- | testhal/STM32/CAN/main.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testhal/STM32/CAN/main.c b/testhal/STM32/CAN/main.c index 7fb08de10..c8879d6d4 100644 --- a/testhal/STM32/CAN/main.c +++ b/testhal/STM32/CAN/main.c @@ -1,5 +1,6 @@ /*
- ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -56,7 +57,7 @@ static msg_t can_rx(void *p) { }
/*
- * Transmitter thread. + * Transmitter thread.
*/
static WORKING_AREA(can_tx_wa, 256);
static msg_t can_tx(void * p) {
@@ -93,12 +94,12 @@ int main(void) { chSysInit();
/*
- * Activates the CAN driver 1. + * Activates the CAN driver 1.
*/
canStart(&CAND1, &cancfg);
/*
- * Starting the transmitter and receiver threads. + * Starting the transmitter and receiver threads.
*/
chThdCreateStatic(can_rx_wa, sizeof(can_rx_wa), NORMALPRIO + 7, can_rx, NULL);
chThdCreateStatic(can_tx_wa, sizeof(can_tx_wa), NORMALPRIO + 7, can_tx, NULL);
|