Browse Source

2021.04.01 / Jerry add

Actions:
1. Modify the status code of 023979 not to be displayed on the LCD.

Files:
1. ReModule_EvComm.c
Jerry_Wang 4 năm trước cách đây
mục cha
commit
864d133714

+ 2 - 1
EVSE/Projects/DD360/Apps/ReModule_EvComm.c

@@ -1935,7 +1935,8 @@ bool AbnormalStopAnalysis(byte gun_index, byte *errCode)
     //        strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "", 6) != EQUAL) {
     //    return;
     //}
-    if (strncmp(string, "000000", 6) == EQUAL) {
+    if (strncmp(string, "000000", 6) == EQUAL ||
+            strncmp(string, "023979", 6) == EQUAL) {
         return false;
     }
 

BIN
EVSE/Projects/DD360/Apps/UnsafetyOutputTask


BIN
EVSE/Projects/DD360/Images/ramdisk.gz


+ 2 - 1
EVSE/Projects/DD360Audi/Apps/ReModule_EvComm.c

@@ -1935,7 +1935,8 @@ bool AbnormalStopAnalysis(byte gun_index, byte *errCode)
     //        strncmp((char *)_chargingData[gun_index]->EvConnAlarmCode, "", 6) != EQUAL) {
     //    return;
     //}
-    if (strncmp(string, "000000", 6) == EQUAL) {
+    if (strncmp(string, "000000", 6) == EQUAL ||
+            strncmp(string, "023979", 6) == EQUAL) {
         return false;
     }