mirror of https://github.com/ARMmbed/mbed-os.git
STM32: Pass correct id to can_irq() for CAN3
parent
2e1c2a1cdf
commit
d33c0a6fa5
|
@ -579,15 +579,15 @@ void CAN2_SCE_IRQHandler(void)
|
|||
#if defined(CAN3_BASE) && defined(CAN_3)
|
||||
void CAN3_RX0_IRQHandler(void)
|
||||
{
|
||||
can_irq(CAN_3, 1);
|
||||
can_irq(CAN_3, 2);
|
||||
}
|
||||
void CAN3_TX_IRQHandler(void)
|
||||
{
|
||||
can_irq(CAN_3, 1);
|
||||
can_irq(CAN_3, 2);
|
||||
}
|
||||
void CAN3_SCE_IRQHandler(void)
|
||||
{
|
||||
can_irq(CAN_3, 1);
|
||||
can_irq(CAN_3, 2);
|
||||
}
|
||||
#endif
|
||||
#endif // else
|
||||
|
|
Loading…
Reference in New Issue