Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
WZ-EF01
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
WZ
WZ-EF01
Commits
3036374b
Commit
3036374b
authored
Aug 13, 2024
by
崔立宝
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
五征EF01软件变更申请单20240807变更点2:调整机油压力报警灯报警逻辑
parent
4fd3a2c8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
4 deletions
+43
-4
Telltales.c
code/Sources/Application/src/Telltales.c
+16
-2
Data_Processor.h
code/Sources/Implementation/inc/Data_Processor.h
+3
-0
Data_Processor.c
code/Sources/Implementation/src/Data_Processor.c
+22
-0
Sound_Source.h
code/Sources/Module/inc/Sound_Source.h
+1
-1
main.c
code/Sources/System/src/main.c
+1
-1
No files found.
code/Sources/Application/src/Telltales.c
View file @
3036374b
...
...
@@ -418,7 +418,7 @@ void Telltales_Management(void)
//31 ����ѹ���� EngOilPress 15
// #if ModVersion == Version_KANG
if
(
NVM_CONFIG_KANG
>
0
)
if
(
0
)
//
NVM_CONFIG_KANG > 0)
{
if
(
EngOilPress
==
0
)
{
...
...
@@ -461,9 +461,19 @@ void Telltales_Management(void)
}
else
{
if
((
EngOilPress
<
25
)
||
((
EngOilPress
*
2
)
>
325
))
//��100Kpa����650Kpa
if
((
DataCoolantOilSegDisp
<
60
)
&&
(
EngOilPress
<
15
)
/* || ((EngOilPress * 2) > 325)*/
)
/* 60kPa */
{
BD83790A
|=
BD8379_D6
;
if
(
ESpeed_300_2S_Sts
)
{
Sound_Request
(
SND_LOW_OIL_SPEED
,
1
);
}
else
{
Sound_Delete
(
SND_LOW_OIL_SPEED
);
}
if
(
EngOilPress_Count
<=
60
)
{
EngOilPress_Count
++
;
...
...
@@ -489,6 +499,7 @@ void Telltales_Management(void)
}
else
{
Sound_Delete
(
SND_LOW_OIL_SPEED
);
if
((
EngOilPress_Count
>
0
)
&&
(
EngOilPress_Count
<=
60
))
{
LED_RIGHT_RED
=
1
;
...
...
@@ -2371,6 +2382,7 @@ void Telltales_Management(void)
Sound_Delete
(
SND_LOW_FUEL_SPEED
);
//ȼ��Һλ�ͱ������ر�
Sound_Delete
(
SND_OVER_SPEED
);
//����
Sound_Delete
(
SND_AEB
);
Sound_Delete
(
SND_LOW_OIL_SPEED
);
}
else
if
(
SYS_SELF_TEST_DISP_MODE
)
//�Լ�
{
...
...
@@ -2390,12 +2402,14 @@ void Telltales_Management(void)
LowBrakeLuidLevel_timp
=
0
;
TelltaleLCDFlag
.
Sig
.
LCD32
=
0
;
Sound_Delete
(
SND_CNG_GasLeak
);
Sound_Delete
(
SND_LOW_OIL_SPEED
);
}
else
{
Sound_Delete
(
SND_LockWithKeyInCar
);
TelltaleLCDFlag
.
Sig
.
LCD32
=
0
;
Sound_Delete
(
SND_CNG_GasLeak
);
Sound_Delete
(
SND_LOW_OIL_SPEED
);
LowBrakeLuidLevel_timp
=
0
;
}
...
...
code/Sources/Implementation/inc/Data_Processor.h
View file @
3036374b
...
...
@@ -32,6 +32,9 @@ extern uint16_t DataESpeedDisp;
extern
uint8_t
DataESpeedValid
;
extern
uint8_t
Maintain_alarm
;
extern
uint8_t
ESpeed_300_2S_Sts
;
extern
uint8_t
ESpeed_300_2S_Time
;
#define DATA_ENGINE_SPEED_ACTUAL DataESpeedActual
#define DATA_ENGINE_SPEED_DISPLAYING DataESpeedDisp
#define DATA_ENGINE_SPEED_VALID DataESpeedValid
...
...
code/Sources/Implementation/src/Data_Processor.c
View file @
3036374b
...
...
@@ -12,6 +12,9 @@ DataESpeedSamplerStruct DataESpeedSampler;
DataESPeedDampingStruct
DataESPeedDamping
;
DataESpeedIdleStruct
DataESpeedIdle
;
uint16_t
DataFuelVolRemaining
;
uint8_t
ESpeed_300_2S_Time
;
uint8_t
ESpeed_300_2S_Sts
;
/*** 车速 ***/
uint16_t
DataVSpeedActual
;
uint16_t
DataVSpeedDisp
;
...
...
@@ -134,6 +137,8 @@ void Data_Power_On_Init(void)
DataESPeedDamping
.
Speed
=
0
;
DataESPeedDamping
.
Delta
=
0
;
DataESPeedDamping
.
Dir
=
DATA_APPR_DIR_INC
;
ESpeed_300_2S_Sts
=
0
;
ESpeed_300_2S_Time
=
0
;
Fuel_Seg
=
0
;
//燃油段数初始化
//Espeed_Seg_Disp[0] = 0;
//Espeed_Seg_Disp[1] = 0;
...
...
@@ -523,6 +528,23 @@ void Data_Engine_Speed_Processing_Service(void)
// ESpeed = DataESpeedSampler.Backup;
//else
ESpeed
=
DataESpeedActual
;
if
(
ESpeed
>
300
)
{
if
(
ESpeed_300_2S_Time
<
100
)
{
ESpeed_300_2S_Time
++
;
}
else
{
ESpeed_300_2S_Sts
=
1
;
}
}
else
{
ESpeed_300_2S_Time
=
0
;
ESpeed_300_2S_Sts
=
0
;
}
if
((
ESpeed
>=
500
)
&&
(
ESpeed
<=
1000
))
//20200109
//if ((ESpeed >= 500) && (ESpeed <= 6000))
...
...
code/Sources/Module/inc/Sound_Source.h
View file @
3036374b
...
...
@@ -93,7 +93,7 @@ static const SndAttributeStruct SndAttributeTable[] =
{
/* SND_RF_HOOVES_ERROR1 13 */
0x01
,
0
,
1
,
SND_MODE_SINGLE
,
500
,},
{
/* SND_LR_HOOVES_ERROR1 14 */
0x01
,
0
,
1
,
SND_MODE_SINGLE
,
500
,},
{
/* SND_RR_HOOVES_ERROR1 15 */
0x01
,
0
,
1
,
SND_MODE_SINGLE
,
500
,},
{
/* SND_LOW_OIL_SPEED1 16 */
0x0
1
,
0
,
1
,
SND_MODE_SINGLE
,
500
,},
{
/* SND_LOW_OIL_SPEED1 16 */
0x0
3
,
0
,
10
,
SND_MODE_SINGLE
,
500
,},
{
/* SND_LOW_FUEL_SPEED1 17 */
0x01
,
0
,
1
,
SND_MODE_SINGLE
,
1000
,},
{
/* SND_SRC_TICK */
0x05
,
0
,
1
,
SND_MODE_SINGLE
,
100
,},
{
/* SND_SRC_TOCK */
0x06
,
0
,
1
,
SND_MODE_SINGLE
,
100
,},
...
...
code/Sources/System/src/main.c
View file @
3036374b
...
...
@@ -31,7 +31,7 @@
//20240515 修改禅道QAC高危问题:42983、42982、42979
//20240522 修改禅道QAC高危问题:43378
//20240807 屏蔽行车信息显示
//20240807 屏蔽行车信息显示
;修改油压报警灯逻辑
#include "main.h"
#include "fuelconfig.h"
...
...
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