Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
IVECO_NS216
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
时昊
IVECO_NS216
Commits
d1437672
Commit
d1437672
authored
Dec 19, 2024
by
梁百峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:
✨
feat:取消变速箱3个长鸣报警
parent
04fc5de4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
26 deletions
+26
-26
Sound_Alarm_handle.c
source/Appliciation/Sound_Alarm_handle.c
+26
-26
No files found.
source/Appliciation/Sound_Alarm_handle.c
View file @
d1437672
...
...
@@ -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
)
{
//
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
;
}
}
}
//
u16SndTig = 1;
//
}
//
}
//
else
//
{
//
u16SndTig = 1;
//
}
//
}
//
if ( u16SndGear == 0x7C ) // R
//
{
//
if ( Get_DispVechileSpeed( ) >= 10 )
//
{
//
u16SndTig = 1;
//
}
//
}
//
}
// if ( u16SndTig == 0 )
// {
// u8SoundAlarmGearPOnce = 1;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment