test
Fork of CANnucleo by
Diff: stm32f3xx_hal_msp.c
- Revision:
- 21:bcd8161f8f6c
- Parent:
- 16:f4c8f45bded9
--- a/stm32f3xx_hal_msp.c Sat Mar 19 21:16:10 2016 +0000 +++ b/stm32f3xx_hal_msp.c Thu May 19 17:16:59 2016 +0000 @@ -53,7 +53,7 @@ PinName _rxPin; PinName _txPin; -void (*rxCompleteCallback) (void); +void (*rxCompleteCallback)(void); /** * @brief CAN initialization. @@ -63,7 +63,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; @@ -258,3 +258,5 @@ __HAL_CAN_ENABLE_IT(_canHandle, CAN_IT_FMP0); } #endif + +