Pārlūkot izejas kodu

[Improve][AW-Regular][main.c]
2022-03-15 / Eason Yang
Action
1.Improve: Decrease log print out.

File
1. main.c
Action 1

FIRMWARE VERSION: V0.70.XX.XXXX.PX

8009 3 gadi atpakaļ
vecāks
revīzija
6677e08d6e
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 4 1
      EVSE/Projects/AW-Regular/Apps/main.c

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

@@ -2715,10 +2715,12 @@ int isMatchStartUser(unsigned char gun_index)
 		}
 	}
 
+	/*
 	DEBUG_INFO("==== isMatchStartUser ==== \n");
 	DEBUG_INFO("tmpUser : %s \n", tmpUser);
 	DEBUG_INFO("StartUserId : %s \n", ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].StartUserId);
 	DEBUG_INFO("========================== \n");
+	*/
 
 	return ((strcmp((char*)tmpUser, (char*)ShmSysConfigAndInfo->SysInfo.AcChargingData[gun_index].StartUserId)==0)?YES:NO);
 }
@@ -3629,7 +3631,8 @@ void checkChargingProfileLimit(uint8_t gun_index, uint8_t system_mode)
 		{
 			// Absolute profile
 			if((mystrcmp((char*)ShmOCPP16Data->MaxChargingProfile.ChargingProfileKind, "Absolute") == PASS))
-			{		
+			{
+				// Checking limitation
 				for(uint8_t idx_period=0;idx_period<ARRAY_SIZE(ShmOCPP16Data->MaxChargingProfile.ChargingSchedule.ChargingSchedulePeriod);idx_period++)
 				{
 					if((getMaxScheduleStart() >= ShmOCPP16Data->MaxChargingProfile.ChargingSchedule.ChargingSchedulePeriod[idx_period].StartPeriod) &&