소스 검색

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. BIN
      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);

BIN
EVSE/Projects/DO360/Images/ramdisk.gz