Explorar el Código

2021-06-02 / Eason Yang
Action :
1. Fixed : Changed invert bit.

File :
1. Module_AlarmDetect.c
Action 1

Version : D0.54.XX.XXXX.XX

8009 hace 3 años
padre
commit
90ae390fb4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      EVSE/Projects/AW-CCS/Apps/Module_AlarmDetect.c

+ 2 - 2
EVSE/Projects/AW-CCS/Apps/Module_AlarmDetect.c

@@ -1017,7 +1017,7 @@ int main(void)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012200");
 				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL2InputOVP == ON)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012201");
-				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL3InputUVP == ON)
+				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL3InputOVP == ON)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012202");
 				
 			}
@@ -1030,7 +1030,7 @@ int main(void)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012203");
 				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL2InputUVP == ON)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012204");
-				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL3InputOVP == ON)
+				else if(ShmStatusCodeData->AlarmCode.AlarmEvents.bits.SystemL3InputUVP == ON)
 					sprintf((char*)ShmOCPP16Data->StatusNotification[gun_index].VendorErrorCode , "012205");
 
 			}