Browse Source

2021-08-19 / Eason Yang
Action:
1. Fixed : The system into alarm mode and relay setting to off state.

File:
1. main.c
Action 1

Version: D0.55.XX.XXXX.XX

8009 3 years ago
parent
commit
07ad726822
1 changed files with 1 additions and 8 deletions
  1. 1 8
      EVSE/Projects/AW-CCS/Apps/main.c

+ 1 - 8
EVSE/Projects/AW-CCS/Apps/main.c

@@ -5839,14 +5839,7 @@ int main(void)
 					break;
 				case SYS_MODE_ALARM:
 					setLedMotion(gun_index,LED_ACTION_ALARM);
-
-					if((ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].PreviousSystemStatus == SYS_MODE_CHARGING) ||
-					   (ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].PreviousSystemStatus == SYS_MODE_TERMINATING))
-					{}
-					else
-					{
-						setRelay(gun_index, OFF);
-					}
+					setRelay(gun_index, OFF);
 
 					if((ShmCharger->gun_info[gun_index].systemAlarmCode.SystemAlarmCode == 0))
 					{