Closed SaharElnagar closed 4 years ago
REPLACED MAX_CONTROLLERS_NUMBER and CAN_CONTROLLERS_NUMBER with USED_CONTROLLERS_NUMBER to represent number of used controllers (Can_Cfg.h)
CHANGED the values of CAN_ERRORSTATE_PASSIVE and CAN_ERRORSTATE_BUSOFF flags to match datasheet (Can_GeneralTypes.h)
FIXED Can_GetControllerErrorState() logic errors (Can.c)
REPLACED MAX_CONTROLLERS_NUMBER and CAN_CONTROLLERS_NUMBER with USED_CONTROLLERS_NUMBER to represent number of used controllers (Can_Cfg.h)
CHANGED the values of CAN_ERRORSTATE_PASSIVE and CAN_ERRORSTATE_BUSOFF flags to match datasheet (Can_GeneralTypes.h)
FIXED Can_GetControllerErrorState() logic errors (Can.c)