mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
ver 26.1.5.1
- 코드 구조 변경(파일 삭제/통합) : CE_ON_CMD.c 삭제 (Drive_Mode.c로 통합) : Charging_Status.c 삭제 (Drive_Mode.c로 통합) : Ignition.c 삭제 (Drive_Mode.c로 통합) - 코드 효율 개선 : Drive_Mode.c 내 시동 로직 개선 : Drive_Mode.c 내 key off 조건 추가 - ACU ARC 함수 수정 : ECU_Check.c 내 ACU_Arc_check 함수로 통합
This commit is contained in:
parent
3c0da1d9ff
commit
74b3f6a0c9
Binary file not shown.
File diff suppressed because it is too large
Load Diff
18124
GW/Debug_FLASH/GW.srec
18124
GW/Debug_FLASH/GW.srec
File diff suppressed because it is too large
Load Diff
@ -65,7 +65,7 @@ void CheckSystem(void)
|
||||
Motor_Status();
|
||||
Est_Vehicle_Speed();
|
||||
|
||||
if (GV_VCU_Ignition == 0) // If the key is turned off, it switches to 'key off process' state
|
||||
if (GV_VCU_Ignition == 0 && (GV_VCU_Drive_Mode == DRIVE_MODE_DEFAULT || GV_VCU_Drive_Mode == DRIVE_MODE_EMERGENCY)) // If the key is turned off, it switches to 'key off process' state
|
||||
GV_IG_Process_Status = KEY_STATE_OFF_PROCESS;
|
||||
break;
|
||||
|
||||
@ -131,7 +131,11 @@ void CheckDriveMode(void)
|
||||
bool isCharging = (GV_ChargingStatus == 1 || GV_ChargingStatus == 2 || GV_ChargingStatus == 3); // 0(READY), 1(INITALIZE), 2(CHARGING), 3(EXIT)
|
||||
|
||||
if(isEmergency)
|
||||
{
|
||||
GV_VCU_Drive_Mode = DRIVE_MODE_EMERGENCY;
|
||||
|
||||
ACU_Arc_check();
|
||||
}
|
||||
else if(isCharging) //Author : JaeminSong, Date : 0830, Description: If Current_Mode is Charging, We need to change default Mode.
|
||||
{
|
||||
GV_VCU_Drive_Mode = DRIVE_MODE_DEFAULT;
|
||||
|
||||
@ -5,9 +5,9 @@
|
||||
|
||||
void SET_SW_VER(void)
|
||||
{
|
||||
GV_YEAR = 25;
|
||||
GV_Month = 12;
|
||||
GV_Day = 31;
|
||||
GV_YEAR = 26;
|
||||
GV_Month = 1;
|
||||
GV_Day = 5;
|
||||
GV_Ver = 1;
|
||||
GV_CAR_NUM = 240623;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user