Browse Source

[Improve][AW-CCS][CsuComm.c]
2022-05-03 / EASON YANG
Action
1. Improve: ShmDispenser->gun_info.acCcsInfo.EVCCID changed to ShmCharger->gun_info[gun_index].acCcsInfo.EVCCID .

File
1. CsuComm.c
Action 1

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

8009 2 years ago
parent
commit
a4cb8c3177
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EVSE/Projects/AW-CCS/Apps/CCS/CsuComm.c

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

@@ -2859,7 +2859,7 @@ int CsuCommAC_SHM_Rx_Update()
    ShmCharger->gun_info[gun_index].acCcsInfo.PresentMsgFlowStatus=Check_V2G_Flow_Status();
    ShmCharger->gun_info[gun_index].acCcsInfo.EVChargeProgress = ShmCcsData->V2GMessage_ISO15118_2014.PowerDeliveryRequest.ChargeProgress;
    ShmCharger->gun_info[gun_index].acCcsInfo.CpSetPWMDuty=ShmSysConfigAndInfo->SysInfo.CcsChargingData[0].CpDuty;
-   memcpy(ShmDispenser->gun_info.acCcsInfo.EVCCID, EVCOMM_SYS_INFO.EVCCID, sizeof(ShmDispenser->gun_info.acCcsInfo.EVCCID));
+   memcpy(ShmCharger->gun_info[gun_index].acCcsInfo.EVCCID, EVCOMM_SYS_INFO.EVCCID, sizeof(ShmCharger->gun_info[gun_index].acCcsInfo.EVCCID));
     //----------[1] Permission --------
    // ShmInternalComm->ChargingPermission_new = (unsigned char) CSUCOMMAC_SHM.ChargingPermission;
     ShmInternalComm->ChargingPermission_new=ShmCharger->gun_info[gun_index].acCcsInfo.ChargingPermission;