nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
301 stars 136 forks source link

Fixes #100. Fix CAN_Type* in FLEXCAN2 ISR #101

Closed weinshec closed 1 year ago

weinshec commented 1 year ago

The FLEXCAN driver uses an apparently wrong CAN_Type*/base address as argument to the s_flexcanIsr handler for interrupts on FLEXCAN2. This change makes the CAN_FD2_DriverIRQHandler use the correct base address.

Prerequisites

Describe the pull request Use correct base address pointer in CAN_FD2_DriverIRQHandler of the flexcan driver. Fixes #100

Type of change

Tests