Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
V
VC66_7C
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
ISUZU
VC66_7C
Commits
508926c2
Commit
508926c2
authored
Apr 14, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整水温指示灯显示
parent
d88309c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
3 deletions
+19
-3
BackGroundLight.c
source/Application/APP/BackLight/BackGroundLight.c
+18
-2
Telltales_user.c
source/Application/APP/Telltales/Telltales_user.c
+1
-1
No files found.
source/Application/APP/BackLight/BackGroundLight.c
View file @
508926c2
#include "BackgroundLight.h"
#include "BackgroundLight.h"
#include "BGLInterface.h"
#include "BGLInterface.h"
#include "
Telltales
.h"
#include "
GPIO
.h"
#include "kwp2000_service.h"
#include "kwp2000_service.h"
#include "Telltales.h"
#include "Data_CoolantTemperature.h"
uint16_t
IgnOffKeepMs
;
uint16_t
IgnOffKeepMs
;
uint16_t
IgnOnKeepMs
;
uint16_t
IgnOnKeepMs
;
...
@@ -414,13 +416,27 @@ void BackLightDeal(BL_USER_PARA BL_FunPara, BL_STATE_PARA BLFunStatePara)
...
@@ -414,13 +416,27 @@ void BackLightDeal(BL_USER_PARA BL_FunPara, BL_STATE_PARA BLFunStatePara)
if
((
LED_Temp_Judgement
()
==
1u
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
if
((
LED_Temp_Judgement
()
==
1u
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
{
{
SetBacklightDestVal
(
LED_TEMP
,
0
);
SetBacklightDestVal
(
LED_TEMP
,
0
);
//SetBacklightDestVal(LED_TEMPBL, 0);
//Water_Temp_Led_R_MCU_OUT = 1u;
}
}
else
else
{
{
SetBacklightDestVal
(
LED_TEMP
,
BL_FunPara
.
BL_User_GaugesDuty
);
SetBacklightDestVal
(
LED_TEMP
,
BL_FunPara
.
BL_User_GaugesDuty
);
//SetBacklightDestVal(LED_TEMPBL, BL_FunPara.BL_User_GaugesDuty);
//Water_Temp_Led_R_MCU_OUT = 0u;
}
if
((
Coolant_Get_CurSeg
()
>=
11
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
{
SetBacklightDestVal
(
LED_TEMPBL
,
0
);
Water_Temp_Led_R_MCU_OUT
=
1u
;
}
else
{
SetBacklightDestVal
(
LED_TEMPBL
,
BL_FunPara
.
BL_User_GaugesDuty
);
Water_Temp_Led_R_MCU_OUT
=
0u
;
}
}
SetBacklightDestVal
(
LED_TEMPBL
,
BL_FunPara
.
BL_User_GaugesDuty
);
}
}
else
if
((
BL_FunPara
.
BL_User_WakeFlag
)
&&
(
BL_FunPara
.
BL_User_PowerSt
==
BGL_IGN_OFF
))
else
if
((
BL_FunPara
.
BL_User_WakeFlag
)
&&
(
BL_FunPara
.
BL_User_PowerSt
==
BGL_IGN_OFF
))
{
{
...
...
source/Application/APP/Telltales/Telltales_user.c
View file @
508926c2
...
@@ -1967,7 +1967,7 @@ void LED_Temp_Execution(uint8_t led_status)
...
@@ -1967,7 +1967,7 @@ void LED_Temp_Execution(uint8_t led_status)
if
((
led_status
==
1u
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
if
((
led_status
==
1u
)
&&
(
K_Line_Set
.
K_Line_LID43
==
0x82u
))
{
{
TEMP_R_LED_OUT
=
1u
;
/*水温红灯*/
TEMP_R_LED_OUT
=
1u
;
/*水温红灯*/
//Water_Temp_Led_R_MCU_OUT =
0
u;
//Water_Temp_Led_R_MCU_OUT =
1
u;
TEMP_W_LED_OUT
=
0u
;
//水温字符白色指示灯
TEMP_W_LED_OUT
=
0u
;
//水温字符白色指示灯
//Water_Temp_Led_W_MCU_OUT = 1u;
//Water_Temp_Led_W_MCU_OUT = 1u;
...
...
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