Browse Source

2020-03-11 / ct_chen

Actions:
1. modify length of cmd to zip

Files:
1. EVSE/Modularization/logPackTools.c
ct_chen 5 years ago
parent
commit
f7ca38eaef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EVSE/Modularization/logPackTools.c

+ 1 - 1
EVSE/Modularization/logPackTools.c

@@ -234,7 +234,7 @@ int main(int argc, char *argv[]) {
 		printf("%s", SerialNo);
 		int year,month,day,hour,min,sec,i,ty,tm,cnt;
 		char pwd[70];
-		char cmd[100];
+		char cmd[512];
 		time_t tt = time(0); //獲取當前時間
 		struct tm *pst = localtime(&tt); //把time_t類型轉換為struct tm類型
 		year = pst->tm_year + 1900;