Browse Source

2022-01_07 / Eason Yang
Action
1. Remove: Remove check Module_InitUpgrade function.

File
1. main.c
Action 1

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

8009 3 years ago
parent
commit
d5497d421e
1 changed files with 0 additions and 7 deletions
  1. 0 7
      EVSE/Projects/AW-CCS/Apps/main.c

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

@@ -4029,13 +4029,6 @@ void checkTask()
 		DEBUG_INFO("Module_PowerSharing not running, restart it.\n");
 		system ("/root/Module_PowerSharing &");
 	}
-
-	if((system("pidof -s Module_InitUpgrade > /dev/null") != 0) &&
-		ShmSysConfigAndInfo->SysConfig.isReqFirstUpgrade)
-	{
-		DEBUG_INFO("Module_InitUpgrade not running, restart it.\n");
-		system ("/root/Module_InitUpgrade &");
-	}
 }
 
 void checkConnectionTimeout()