Browse Source

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

File
1. main.c
Action 1

FIRMWARE VERSION: V0.53.XX.XXXX.NX

8009 3 years ago
parent
commit
b9f4f76c33
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EVSE/Projects/Noodoe/Apps/main.c

+ 1 - 0
EVSE/Projects/Noodoe/Apps/main.c

@@ -4572,6 +4572,7 @@ int main(void)
 					
 					if((ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].PilotState == CP_STATE_A) || ocpp_get_reset_req())
 					{
+						sleep(2);
 						ShmCharger->gun_info[gun_index].rfidReq = OFF;
 						ShmCharger->gun_info[gun_index].isAuthPassEnd = OFF;
 						ShmCharger->gun_info[gun_index].bleConfigData.isRequestStop = OFF;