浏览代码

2022-02-07 / Eason Yang
Action
1. Improve: Alarm event check logic. (ShmCharger->gun_info[gun_index].systemAlarmCode.SystemAlarmCode>0).

File
1. main.c
Action 1

FIRMWARE VERSION: B0.61.XX.XXXX.PX

8009 3 年之前
父节点
当前提交
d402656f87
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EVSE/Projects/AW-CCS/Apps/main.c

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

@@ -5243,7 +5243,7 @@ int main(void)
 			if(ShmSysConfigAndInfo->SysInfo.AcChargingData[0].SystemStatus != SYS_MODE_BOOTING)
 			{
 				// Alarm event check
-				if((ShmCharger->gun_info[gun_index].primaryMcuAlarm.InputAlarmCode>0) || (ShmCharger->gun_info[gun_index].systemAlarmCode.SystemAlarmCode) || ShmStatusCodeData->AlarmCode.AlarmEvents.bits.CCSboardStestFail)
+				if((ShmCharger->gun_info[gun_index].primaryMcuAlarm.InputAlarmCode>0) || (ShmCharger->gun_info[gun_index].systemAlarmCode.SystemAlarmCode>0) || ShmStatusCodeData->AlarmCode.AlarmEvents.bits.CCSboardStestFail)
 				{
 					if(ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].SystemStatus != SYS_MODE_ALARM)
 					{