Explorar o código

[Improve][Modularization][Module_Upgrade]

2020.12.25 / Folus Wen

Actions:
1. CAN BUS upgrade wait finish ack timeout change to 5 minutes.

Files:
1. As follow commit history

Image version: D0.00.XX.XXXX.XX
Image checksum: XXXXXXXX

Hardware PWB P/N : XXXXXXX
Hardware Version : XXXXXXX
FolusWen %!s(int64=4) %!d(string=hai) anos
pai
achega
5aa8f9b72e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      EVSE/Modularization/Module_Upgrade.c

+ 1 - 1
EVSE/Modularization/Module_Upgrade.c

@@ -1188,7 +1188,7 @@ int Send_CCS_download_finish(int canfd,unsigned int Slave_Addr)
 
         struct timeval timer;
         gettimeofday(&timer, NULL);
-        unsigned long ack_timeout = 30 * 60 * 1000 * 1000;  //30 minutes
+        unsigned long ack_timeout = 5 * 60 * 1000 * 1000;  //5 minutes
 
         while (getTimeoutValue(timer) < ack_timeout)
         {