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
872dee2d
Commit
872dee2d
authored
Mar 17, 2022
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整故障码显示BUG
parent
328eadc3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
17 deletions
+16
-17
BackGroundLight.c
source/Application/APP/BackLight/BackGroundLight.c
+0
-2
GUI.c
source/Application/Graphic/GUI/GUI.c
+9
-12
GUI.h
source/Application/Graphic/GUI/GUI.h
+5
-1
Sys_Tick.c
source/Driver/Sys_Tick/Sys_Tick.c
+2
-2
No files found.
source/Application/APP/BackLight/BackGroundLight.c
View file @
872dee2d
...
...
@@ -111,10 +111,8 @@ void BackLightDamp(uint8_t TimeX)
{
if
(
BLEffectFlag
==
BGL_GRADUAL
)
{
if
(
BackLightPara
[
i
].
CurBackLightDuty
<
BackLightPara
[
i
].
DestBackLightDuty
)
{
BackLightModifyTimer
[
i
]
=
(
uint16_t
)(
400u
/
(
BackLightPara
[
i
].
DestBackLightDuty
-
BackLightPara
[
i
].
CurBackLightDuty
)
+
2u
);
if
((
BackLightPara
[
i
].
DestBackLightDuty
-
BackLightPara
[
i
].
CurBackLightDuty
)
>=
TmpStep
)
{
...
...
source/Application/Graphic/GUI/GUI.c
View file @
872dee2d
...
...
@@ -32,19 +32,19 @@
#include "Popups.h"
#include "kwp2000_service.h"
volatile
_Display_State_Flag
State_Flag
;
/*0-常态 1-小于0 2-小于1000 3-无此功能*/
_TPMS
TPMS_Matching
;
_UserSet
User_set_Num
;
_UserSet
User_App
;
#pragma alignvar(8)
Display_Modular_St
Display_DTC
[
DTCNumeber
+
1u
];
#pragma alignvar(8)
uint
8
_t
EolNUM
[
10u
][
8u
];
uint
32
_t
EolNUM
[
10u
][
8u
];
uint8_t
DTCNumTime
=
0u
;
static
uint8_t
GUIDTCNumDis
=
0u
;
_Display_State_Flag
State_Flag
;
/*0-常态 1-小于0 2-小于1000 3-无此功能*/
_TPMS
TPMS_Matching
;
_UserSet
User_set_Num
;
_UserSet
User_App
;
/*-------------------------------------------------------------------------
* Function Name : GUI_Display_KL15_ON_Init
* Description :
...
...
@@ -6641,7 +6641,6 @@ void GUI_BG_FacMenu6_Display(uint8_t Mode)
* Return : None
* onther : 区域
--------------------------------------------------------------------------*/
uint8_t
HYQ_TEST
=
1
;
void
GUI_Display_DTC_Server
(
void
)
{
uint8_t
i
=
0u
;
...
...
@@ -6651,7 +6650,7 @@ void GUI_Display_DTC_Server(void)
Display_DTC
[
0u
].
Disp_True_False
=
1u
;
/*SRC故障*/
Display_DTC
[
1u
].
Disp_True_False
=
HYQ_TEST
;
Display_DTC
[
1u
].
Disp_True_False
=
0u
;
/*AMT故障*/
if
((
K_Line_Set
.
K_Line_LID41
==
0x10u
)
||
(
K_Line_Set
.
K_Line_LID41
==
0x11u
)
||
(
K_Line_Set
.
K_Line_LID41
==
0x12u
))
...
...
@@ -6736,11 +6735,9 @@ void GUI_Display_DTC_Server(void)
* Return : None
* onther : 区域
--------------------------------------------------------------------------*/
uint8_t
DTCNum
=
0u
;
void
GUI_BG_DTCEngine_Display
(
uint8_t
Mode
)
{
//
uint8_t DTCNum = 0u;
uint8_t
DTCNum
=
0u
;
if
(
Mode
==
GUI_DISP_MODE_NORMAL
)
{
...
...
source/Application/Graphic/GUI/GUI.h
View file @
872dee2d
...
...
@@ -92,7 +92,8 @@ typedef struct
}
_Display_State_Flag
;
extern
volatile
_Display_State_Flag
State_Flag
;
extern
_Display_State_Flag
State_Flag
;
typedef
struct
{
uint16_t
Year
;
/* 年 */
...
...
@@ -155,6 +156,9 @@ typedef struct
uint8_t
T11
;
uint8_t
T12
;
uint8_t
FLAG
;
uint8_t
Reserve1
;
uint8_t
Reserve2
;
uint8_t
Reserve3
;
}
_TPMS
;
extern
_TPMS
TPMS_Matching
;
...
...
source/Driver/Sys_Tick/Sys_Tick.c
View file @
872dee2d
...
...
@@ -90,7 +90,7 @@ void Sys_Tick_Timer_ISR(void)
uint16_t
u16Counter
;
UDS_50us_Service
();
if
(
pfnSysTickCallBack
[
SYS_TICK_50us_CB
]
!=
NULL
)
{
pfnSysTickCallBack
[
SYS_TICK_50us_CB
]();
...
...
@@ -116,7 +116,7 @@ void Sys_Tick_Timer_ISR(void)
{
pfnSysTickCallBack
[
SYS_TICK_100ms_CB
]();
}
g_stSysTickTimer
.
u32DstVal100ms
=
g_stSysTickTimer
.
u32MainCnt
+
(
100000UL
/
SYS_TICK_INT_INTERVAL
);
}
...
...
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