浏览代码

[Workaround][DM30][DW30][network] Sometime, if use the "ifmetric" system command to setup network priority will return "invalid argument", and the target network will be shutdown, need to find the root cause.

2020.08.18 / TC Hsu

Actions: mark the CheckEthernetUsage() function in main.c for workaround.

Image version    : N/A
Image checksum   : N/A

Hardware PWB P/N : N/A
Hardware Version : N/A

Files:

	modified:   EVSE/Projects/DM30/Apps/main.c
	modified:   EVSE/Projects/DW30/Apps/main.c
TC_Hsu 4 年之前
父节点
当前提交
b970ae5695
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      EVSE/Projects/DM30/Apps/main.c
  2. 1 1
      EVSE/Projects/DW30/Apps/main.c

+ 1 - 1
EVSE/Projects/DM30/Apps/main.c

@@ -4957,7 +4957,7 @@ int main(void)
         if ((GetTimeoutValue(_cmdMainPriority_time) / 1000) > 5000)
         {
             CheckTask();
-            CheckEthernetUsage();
+            //CheckEthernetUsage();
             for (byte _index = 0; _index < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; _index++)
             {
                 if (chargingInfo[_index]->SystemStatus == S_CHARGING)

+ 1 - 1
EVSE/Projects/DW30/Apps/main.c

@@ -4957,7 +4957,7 @@ int main(void)
         if ((GetTimeoutValue(_cmdMainPriority_time) / 1000) > 5000)
         {
             CheckTask();
-            CheckEthernetUsage();
+            //CheckEthernetUsage();
             for (byte _index = 0; _index < ShmSysConfigAndInfo->SysConfig.TotalConnectorCount; _index++)
             {
                 if (chargingInfo[_index]->SystemStatus == S_CHARGING)