Sfoglia il codice sorgente

Merge branch 'AW-Regular' of https://git.phihong.com.tw:30000/system_integration/csu3_am335x into AW-Regular

Folus Wen 2 anni fa
parent
commit
ba3abad100
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      EVSE/Projects/AW-Regular/Apps/Module_InternalComm.c

+ 1 - 0
EVSE/Projects/AW-Regular/Apps/Module_InternalComm.c

@@ -2444,6 +2444,7 @@ int main(void)
 				//===============================
 				if(Query_Power_Consumption(Uart1Fd, (gun_index>0?ADDR_AC_PRIMARY_2:ADDR_AC_PRIMARY_1), &ShmCharger->gun_info[gun_index].powerConsumption))
 				{
+					ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].PowerConsumption = (ShmCharger->gun_info[gun_index].powerConsumption.power_consumption/100.0);
 					failCount[gun_index] = 0;
 				}
 				else