Commit d1437672 authored by 梁百峰's avatar 梁百峰

feat: feat:取消变速箱3个长鸣报警

parent 04fc5de4
......@@ -40,32 +40,32 @@ void Sound_Alarm_Trigger_GEAR_P(void)
{
//{
if ( (Get_CAN_CH0_ID_10FF7521_Sig_PsngrDoorSts( ) == 1) || (Get_CAN_CH0_ID_10FF7521_Sig_DriverDoorSts( ) == 1) || (Get_CAN_CH0_ID_10FF7521_Sig_RHRDoorSts( ) == 1) )
{
uint16_t u16SndGear = Get_CAN_CH0_ID_18F00503_Sig_TransCurrentGear( );
if ( (Get_EngSpeed_Start_Flag( ) == 1U) )
{
if ( u16SndGear == 0X7D ) // N
{
if ( Line_In_Get_Status(LINE_IN_Handbrake) == 1U )
{
u16SndTig = 1;
}
}
else
{
u16SndTig = 1;
}
}
if ( u16SndGear == 0x7C ) // R
{
if ( Get_DispVechileSpeed( ) >= 10 )
{
u16SndTig = 1;
}
}
}
// if ( (Get_CAN_CH0_ID_10FF7521_Sig_PsngrDoorSts( ) == 1) || (Get_CAN_CH0_ID_10FF7521_Sig_DriverDoorSts( ) == 1) || (Get_CAN_CH0_ID_10FF7521_Sig_RHRDoorSts( ) == 1) )
// {
// uint16_t u16SndGear = Get_CAN_CH0_ID_18F00503_Sig_TransCurrentGear( );
// if ( (Get_EngSpeed_Start_Flag( ) == 1U) )
// {
// if ( u16SndGear == 0X7D ) // N
// {
// if ( Line_In_Get_Status(LINE_IN_Handbrake) == 1U )
// {
// u16SndTig = 1;
// }
// }
// else
// {
// u16SndTig = 1;
// }
// }
// if ( u16SndGear == 0x7C ) // R
// {
// if ( Get_DispVechileSpeed( ) >= 10 )
// {
// u16SndTig = 1;
// }
// }
// }
// if ( u16SndTig == 0 )
// {
// u8SoundAlarmGearPOnce = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment