瀏覽代碼

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 3 年之前
父節點
當前提交
90ae390fb4
共有 1 個文件被更改,包括 2 次插入2 次删除
  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");
 
 			}