Quellcode durchsuchen

2022-02-07 / Eason Yang
Action
1. Improve: When the system is under complete mode and them sleeps 2 seconds for the connector unplugged message.

File
1. main.c
Action 1

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

8009 vor 3 Jahren
Ursprung
Commit
6cd0e12139
2 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      EVSE/Projects/AW-CCS/Apps/main.c
  2. BIN
      EVSE/Projects/AW-Regular/Images/ramdisk.gz

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

@@ -6402,6 +6402,7 @@ int main(void)
 					   ((ShmCharger->gun_info[gun_index].chargingMode == CHARGING_MODE_SOCKETE) && (!ShmCharger->gun_info[gun_index].primaryMcuState.socket_e.isSocketEPinOn)) ||
 					   ((ShmCharger->gun_info[gun_index].chargingMode == CHARGING_MODE_SOCKETE) && (!ShmCharger->gun_info[gun_index].primaryMcuState.socket_e.isSocketEPinOn)) ||
 					   ocpp_get_reset_req())
 					   ocpp_get_reset_req())
 					{
 					{
+						sleep(2);
 						ShmCharger->gun_info[gun_index].rfidReq = OFF;
 						ShmCharger->gun_info[gun_index].rfidReq = OFF;
 						ShmCharger->gun_info[gun_index].bleConfigData.isRequestStop = OFF;
 						ShmCharger->gun_info[gun_index].bleConfigData.isRequestStop = OFF;
 						ocpp_set_remotestop(gun_index, OFF);
 						ocpp_set_remotestop(gun_index, OFF);

BIN
EVSE/Projects/AW-Regular/Images/ramdisk.gz