Working fork to test F0 application
Fork of CANnucleo by
Diff: stm32f1xx_hal_msp.c
- Revision:
- 6:c5a40d5fd9f1
- Parent:
- 5:b53e5ee15315
- Child:
- 7:62684572ae9c
diff -r b53e5ee15315 -r c5a40d5fd9f1 stm32f1xx_hal_msp.c --- a/stm32f1xx_hal_msp.c Tue Aug 04 11:58:09 2015 +0000 +++ b/stm32f1xx_hal_msp.c Fri Oct 23 19:45:00 2015 +0000 @@ -55,9 +55,10 @@ * @param obj: can_t object * @param rxPin: RX pin name * @param txPin: TX pin name + * @param abom: Automatic recovery from bus-off state * @retval None */ -void initCAN(can_t* obj, PinName rxPin, PinName txPin) { +void initCAN(can_t* obj, PinName rxPin, PinName txPin, FunctionalState abom) { _rxPin = rxPin; _txPin = txPin; @@ -246,3 +247,4 @@ // Enable FIFO 0 message pending Interrupt __HAL_CAN_ENABLE_IT(_canHandle, CAN_IT_FMP0); } +