Przeglądaj źródła

[Imporve][AW-CCS][main.c]
2022-03-07 / Eason Yang
Action
1. Improve: refresh timer for charging profiles log print out.

File
1. main.c
Action 1

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

8009 3 lat temu
rodzic
commit
e929cd8bf7
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      EVSE/Projects/AW-CCS/Apps/main.c

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

@@ -4298,6 +4298,8 @@ void checkChargingProfileLimit(uint8_t gun_index, uint8_t system_mode)
 				DEBUG_INFO("Transaction ID: %d\n", ShmOCPP16Data->SmartChargingProfile[gun_index].TransactionId);
 				DEBUG_INFO("ChargingRateUnit: %s\n", ShmOCPP16Data->SmartChargingProfile[gun_index].ChargingSchedule.ChargingRateUnit);
 				DEBUG_INFO("===============================================================\n");
+				
+				refreshStartTimer(&startTime[gun_index][TMR_IDX_REFRESH_CHARGING_INFO]);
 			}
 
 			// Checking profile kind
@@ -4348,6 +4350,8 @@ void checkChargingProfileLimit(uint8_t gun_index, uint8_t system_mode)
 				DEBUG_INFO("Transaction ID: %d\n", ShmOCPP20Data->SmartChargingProfile[gun_index].transactionId);
 				DEBUG_INFO("ChargingRateUnit: %s\n", ShmOCPP20Data->SmartChargingProfile[gun_index].chargingSchedule[0].chargingRateUnit);
 				DEBUG_INFO("===============================================================\n");
+				
+				refreshStartTimer(&startTime[gun_index][TMR_IDX_REFRESH_CHARGING_INFO]);
 			}
 
 			// Checking profile kind