Przeglądaj źródła

2021-06-28 / Eason Yang
Action
1. Added : Delay 5 seconds when website trigger Factory Default Configuration.

File
1. main.c
Action 1

Version : V0.52.XX.XXXX.NX

8009 3 lat temu
rodzic
commit
8e4dcf57eb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      EVSE/Projects/Noodoe/Apps/main.c

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

@@ -3351,6 +3351,7 @@ int main(void)
 					setLedMotion(gun_index,LED_ACTION_INIT);
 				}
 
+				sleep(5);
 				system("cd /root;./Module_FactoryConfig -m");
 				system("rm -f /Storage/OCPP/OCPPConfiguration");
 				system("sync");