fix(HardwareTimer): handle FDCANx irq when shared with TIMx irq by fpistm · Pull Request #2301 · stm32duino/Arduino_Core_STM32

@fpistm

Application have to declare the phfdcan1 and phfdcan2.

Example:
FDCAN_HandleTypeDef myhfdcan1;
FDCAN_HandleTypeDef *phfdcan1 = &myhfdcan1;
#if defined(FDCAN2_BASE)
FDCAN_HandleTypeDef *phfdcan2 = NULL;
#endif

Fixes stm32duino#2224.

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>