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:
3minbe 2026-01-05 14:15:19 +09:00
parent 3c0da1d9ff
commit 74b3f6a0c9
5 changed files with 10681 additions and 10674 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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;
@ -130,8 +130,12 @@ void CheckDriveMode(void)
bool isEmergency = (GV_RC_Emergency_Stop == 1 || Emergency_Switch == 1 || GV_ACU_Emergency_Stop == 1 || GV_RC_ALV_FLAG == 1 || GV_Act_Fault_Exist == 1);
bool isCharging = (GV_ChargingStatus == 1 || GV_ChargingStatus == 2 || GV_ChargingStatus == 3); // 0(READY), 1(INITALIZE), 2(CHARGING), 3(EXIT)
if (isEmergency)
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;

View File

@ -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;
}