Browse Source

[Imporve][AW-CCS][main.c]
2022-11-23 / EASON YANG
Action:
1.Improve: Get firmware version without MCU communication success.

File
1. main.c
Action 1

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

8009 2 years ago
parent
commit
a541d7228d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      EVSE/Projects/AW-CCS/Apps/main.c

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

@@ -6325,6 +6325,9 @@ int main(void)
 						{
 							ShmStatusCodeData->AlarmCode.AlarmEvents.bits.CsuInitFailed = ON;
 						}
+						
+						// Firmware version
+						get_firmware_version(gun_index);
 
 						refreshStartTimer(&startTime[gun_index][TMR_IDX_POWERSAVING_LCD]);
 						refreshStartTimer(&startTime[gun_index][TMR_IDX_POWERSAVING_RFID]);