Эх сурвалжийг харах

2020-07-23 / Eason Yang
1.Change : main.c
Reason :
a) Rename : Version
b) Conceal : debug logout
Version : V0.52.XX.XXXX.XX

8009 4 жил өмнө
parent
commit
604059fb81

+ 4 - 6
EVSE/Projects/AW-Regular/Apps/main.c

@@ -1187,7 +1187,7 @@ void get_firmware_version(unsigned char gun_index)
 	strcpy((char*)ShmSysConfigAndInfo->SysInfo.CsuPrimFwRev, ShmCharger->gun_info[gun_index].ver.Version_FW);
 
 	// Get CSU root file system version
-	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "B0.52.00.0000.00");
+	sprintf((char*)ShmSysConfigAndInfo->SysInfo.CsuRootFsFwRev, "V0.52.00.0000.00");
 
 	// Get AC connector type from model name
 	for(uint8_t idx=0;idx<3;idx++)
@@ -1779,8 +1779,7 @@ int getScheduleStart(int gun_index)
 		tbScheduleStart.millitm = 0;
 
 		result = DiffTimebWithNow(tbScheduleStart)/1000;
-
-		DEBUG_INFO("Schedule start compare Now(seconds): %d\r\n", result);
+		//DEBUG_INFO("Schedule start compare Now(seconds): %d\r\n", result);
 	}
 	else
 	{
@@ -1808,7 +1807,7 @@ int getStartSinceToday()
 	tbStartToday.time = mktime(tmStartToday);
 
 	result = DiffTimebWithNow(tbStartToday)/1000;
-	DEBUG_INFO("Start today compare Now(seconds): %d\r\n", result);
+	//DEBUG_INFO("Start today compare Now(seconds): %d\r\n", result);
 
 	return result;
 }
@@ -1832,8 +1831,7 @@ int getStartSinceWeek()
 	tbStartWeek.time = mktime(tmStartWeek);
 
 	result = DiffTimebWithNow(tbStartWeek)/1000;
-
-	DEBUG_INFO("Start week compare Now(seconds): %d\r\n", result);
+	//DEBUG_INFO("Start week compare Now(seconds): %d\r\n", result);
 
 	return result;
 }

BIN
EVSE/Projects/AW-Regular/Images/FactoryDefaultConfig.bin


BIN
EVSE/Projects/AW-Regular/Images/ramdisk.gz