pub
Fork of CANnucleo by
Diff: stm32f3xx_hal_msp.c
- Revision:
- 16:f4c8f45bded9
- Parent:
- 14:0344705e6fb8
- Child:
- 20:bcd8161f8f6c
diff -r 5123ead7b002 -r f4c8f45bded9 stm32f3xx_hal_msp.c --- a/stm32f3xx_hal_msp.c Sun Dec 27 09:36:47 2015 +0000 +++ b/stm32f3xx_hal_msp.c Wed Dec 30 08:23:30 2015 +0000 @@ -153,8 +153,8 @@ else return; /* NVIC configuration for CAN1 Reception complete interrupt */ - HAL_NVIC_SetPriority(USB_LP_CAN_RX0_IRQn, 1, 0); - HAL_NVIC_EnableIRQ(USB_LP_CAN_RX0_IRQn); + HAL_NVIC_SetPriority(CAN_IRQ, 1, 0); + HAL_NVIC_EnableIRQ(CAN_IRQ); } /** @@ -191,7 +191,7 @@ /* Disable the NVIC for CAN reception */ - HAL_NVIC_DisableIRQ(USB_LP_CAN_RX0_IRQn); + HAL_NVIC_DisableIRQ(CAN_IRQ); } /**