ver 26.02.26.2

* ACU 전환 로직 수정 중 *

- GetRcReq 인자 수정
  : Drive_Mode.c
- RcReq를 판단하기 위한 함수 틀 생성
  : System_Check.c
  : void RcRequestCheck(void)
This commit is contained in:
3minbe 2026-02-26 21:40:03 +09:00
parent c8173fb901
commit 7215b67f45
4 changed files with 9 additions and 2 deletions

View File

@ -181,6 +181,11 @@ void ECU_check(void)
} }
void RcRequestCheck(void)
{
}
void No_signal_RC(void){ void No_signal_RC(void){

View File

@ -15,6 +15,8 @@ extern void RWA1_Arc_check(void);
extern void RWA2_Arc_check(void); extern void RWA2_Arc_check(void);
extern void ECU_check(void); extern void ECU_check(void);
extern void RcRequestCheck(void);
extern void No_signal_RC(void); extern void No_signal_RC(void);
#endif #endif

View File

@ -3,7 +3,7 @@
static inline bool IsStopCondition(void){return (GV_VCU_Vx_Fbk < 1.);} static inline bool IsStopCondition(void){return (GV_VCU_Vx_Fbk < 1.);}
static inline RcModeReq_e GetRcReq(void){return (RcModeReq_e)GV_RC_Drive_Mode;} static inline RcModeReq_e GetRcReq(void){return (RcModeReq_e)GV_RC_ModeReq;}
static inline bool GetAcuReq(void){return (GV_ACU_Drive_mode == 1);} static inline bool GetAcuReq(void){return (GV_ACU_Drive_mode == 1);}
static inline void SetHandoverPhase(HandoverPhase_e phase){GV_VCU_HandoverPhase = (uint8_t)phase;} static inline void SetHandoverPhase(HandoverPhase_e phase){GV_VCU_HandoverPhase = (uint8_t)phase;}
static inline void setEmergencyCause(EmergencyCause_e cause){GV_VCU_EmergencyCause = (uint8_t)cause;} static inline void setEmergencyCause(EmergencyCause_e cause){GV_VCU_EmergencyCause = (uint8_t)cause;}

View File

@ -8,6 +8,6 @@ void SET_SW_VER(void)
GV_YEAR = 26; GV_YEAR = 26;
GV_Month = 2; GV_Month = 2;
GV_Day = 26; GV_Day = 26;
GV_Ver = 1; GV_Ver = 2;
GV_CAR_NUM = 240623; GV_CAR_NUM = 240623;
} }