autosarzs / Dev

Development AUTOSAR
Mozilla Public License 2.0
52 stars 19 forks source link

Can_MainFunction_Write_Fix #38

Closed Muhammed-ELGendy closed 4 years ago

Muhammed-ELGendy commented 4 years ago

1- [ECUC_Can_00318] CanTxProcessing is a parameter in CanController struct , It should be added inside CanController struct. 2- make if statement more generic using array 3- NUM_OF_HOH should be declared by casting to uint8 4- In the second if statement inside the loop (left operand), &Global_Config is a wrong access. 5- In the second if statement inside the loop (left operand), CanControllerRef is accessed incorrectly as an array. 6- MessageObjAssignedToHOH is not defined or declared in any file (HOH is not defined but HTH and HRH are defined). it should be HTH as it is used in Can_MainFunction_Write.