|
@@ -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))
|
|
|
{
|