diff --git a/Src/fc7xxx_driver_flexcan.c b/Src/fc7xxx_driver_flexcan.c index 13df2c6..db38f93 100644 --- a/Src/fc7xxx_driver_flexcan.c +++ b/Src/fc7xxx_driver_flexcan.c @@ -1462,6 +1462,8 @@ void FLEXCAN_InitMemory(uint8_t u8CanIndex) } +void SystemDelayMs(uint32_t ms); + /** * @brief Initial CAN * @@ -1478,6 +1480,8 @@ FLEXCAN_ErrorType FLEXCAN_Init(uint8_t u8CanIndex, const FLEXCAN_InitType *const FLEXCAN_Type *pCan; FLEXCAN_BaudCfgType tBaudCfg; + SystemDelayMs(0); + #if FLEXCAN_CHECK_PARAMETERS == STD_ON /* check parameter */ tRetVal = FLEXCAN_LL_CheckInstance(u8CanIndex);