test
Fork of CANnucleo by
Diff: stm32f0xx_hal_msp.c
- Revision:
- 21:bcd8161f8f6c
- Parent:
- 19:249e3f065956
--- a/stm32f0xx_hal_msp.c Sat Mar 19 21:16:10 2016 +0000 +++ b/stm32f0xx_hal_msp.c Thu May 19 17:16:59 2016 +0000 @@ -50,7 +50,7 @@ PinName _rxPin; PinName _txPin; -void (*rxCompleteCallback) (void); +void (*rxCompleteCallback)(void); /** * @brief CAN initialization. @@ -60,7 +60,7 @@ * @param abom: Automatic recovery from bus-off state * @retval None */ -void initCAN(can_t* obj, PinName rxPin, PinName txPin, FunctionalState abom) { +void initCAN(PinName rxPin, PinName txPin, FunctionalState abom) { _rxPin = rxPin; _txPin = txPin; @@ -250,3 +250,4 @@ __HAL_CAN_ENABLE_IT(_canHandle, CAN_IT_FMP0); } #endif +