瀏覽代碼

2020-12-29 / Wendell
Actions
1. dispenser firmware upgrade function
2. power cabinet rc2 firmware upgrade function
3. connector maximum output current is determined by model name
4. fix account balance will be clean to 0 affter reveived user price
5. modify default MaxChargingCurrent = 0
6. fix when one gun is charging completed, another gun can not start charging

Files
1. As follow commit history

Image version : D0.08.XX.XXXX.XX

Wendell 4 年之前
父節點
當前提交
4dd1210932
共有 2 個文件被更改,包括 5 次插入4 次删除
  1. 5 4
      EVSE/Projects/DO360/Apps/main.c
  2. 二進制
      EVSE/Projects/DO360/Images/ramdisk.gz

+ 5 - 4
EVSE/Projects/DO360/Apps/main.c

@@ -1143,11 +1143,11 @@ void InitEthernet()
 				}
 			}
 
-			bool ethResult = YES;
+            bool ethResult = YES;
 
-			if(ShmStatusCodeData->InfoCode.InfoEvents.bits.InternetDisconnectViaEthernet)
-				ethResult = NO;
-			else
+            if(ShmStatusCodeData->InfoCode.InfoEvents.bits.InternetDisconnectViaEthernet)
+                ethResult = NO;
+            else
 			{
 				system("/sbin/ifmetric eth0 0");
 
@@ -6494,6 +6494,7 @@ int main(void)
 						PRINTF_FUNC("=============Smart Charging : _REASSIGNED_COMP============= Step 6 \n");
 						ShmSysConfigAndInfo->SysInfo.MainChargingMode = _MAIN_CHARGING_MODE_AVER;
 						ShmSysConfigAndInfo->SysInfo.ReAssignedFlag = _REASSIGNED_NONE;
+						setChargerMode(gun_index, MODE_PRECHARGE);
 					}
 
 					//PRINTF_FUNC("CurGunSelected = %d, gun_index = %d \n", ShmSysConfigAndInfo->SysInfo.CurGunSelected, gun_index);

二進制
EVSE/Projects/DO360/Images/ramdisk.gz