1- [ECUC_Can_00318] CanTxProcessing is a parameter in CanController struct , I added CanTxProcessing inside CanController struct. -->> Done
2- Using if statement for each controller ( to check for CONTROLLER_0/1_ID in the second if statement inside the loop, POLLING and MIXED or CAN_CONTROLLER_ACTIVATION ) is not generic . what if we have 5 or more controllers ?! To make it more generic , I have edited it using array. -->> Done
3- NUM_OF_HOH should be declared by casting to uint8 -->> Done
4- In the second if statement inside the loop (left operand), &Global_Config is a wrong access. It should be written without ampersand operator according to Global_Config declaration. -->> Done
5- In the second if statement inside the loop (left operand), CanControllerRef is accessed incorrectly as an array. CanControllerRef is a CanController pointer. In contrast, CanControllerRef is defined as an object of struct in Can_Pbcfg.c -->> Done
then how could this if statement check between two structs by their pointers!!! What if the structs are equal but the pointers are not?!! -->> Not Done yet
6- MessageObjAssignedToHOH is not defined or declared in any file (HOH is not defined but HTH and HRH are defined). -->> Done
1- [ECUC_Can_00318] CanTxProcessing is a parameter in CanController struct , I added CanTxProcessing inside CanController struct. -->> Done 2- Using if statement for each controller ( to check for CONTROLLER_0/1_ID in the second if statement inside the loop, POLLING and MIXED or CAN_CONTROLLER_ACTIVATION ) is not generic . what if we have 5 or more controllers ?! To make it more generic , I have edited it using array. -->> Done 3- NUM_OF_HOH should be declared by casting to uint8 -->> Done 4- In the second if statement inside the loop (left operand), &Global_Config is a wrong access. It should be written without ampersand operator according to Global_Config declaration. -->> Done 5- In the second if statement inside the loop (left operand), CanControllerRef is accessed incorrectly as an array. CanControllerRef is a CanController pointer. In contrast, CanControllerRef is defined as an object of struct in Can_Pbcfg.c -->> Done