Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
TianYing_ty100
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
TY
TianYing_ty100
Commits
8b89bf42
Commit
8b89bf42
authored
7 months ago
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:统一使用同一个igon判断条件
parent
ca44a497
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
Data_ESpeed.c
Firmware/Source/Application/Data_ESpeed/Data_ESpeed.c
+1
-1
Data_VSpeed.c
Firmware/Source/Application/Data_VSpeed/Data_VSpeed.c
+1
-1
Data_Voltage.c
Firmware/Source/Application/Data_Voltage/Data_Voltage.c
+1
-1
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+3
-3
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+1
-1
No files found.
Firmware/Source/Application/Data_ESpeed/Data_ESpeed.c
View file @
8b89bf42
...
...
@@ -52,7 +52,7 @@ void Data_Engine_Speed_Processing_Service ( void )
Engine_Speed_State
=
Get_CAN_CH0_ID_101_Sig_ECU_Engine_Speed_State
();
//第1步:获取实际转速值及转速有效性
if
(
Common_Get_IG_Sts
()
==
COMMON_POWER_ON
)
if
(
SYS_OPR_STAT_IGN_ON
)
{
if
((
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x101_Msg_Count
)
==
CAN_SIG_LOST
)
||
(
Engine_Speed_State
==
1
))
{
...
...
This diff is collapsed.
Click to expand it.
Firmware/Source/Application/Data_VSpeed/Data_VSpeed.c
View file @
8b89bf42
...
...
@@ -79,7 +79,7 @@ void Data_Vehicle_Speed_Processing_Service(void)
ESC_VehicleSpeedState
=
Get_CAN_CH0_ID_101_Sig_ECU_Vehicle_Speed_State
(
);
// 第1步:获取实际车速值及车速有效性
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER_ON
)
if
(
SYS_OPR_STAT_IGN_ON
)
{
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x101_Msg_Count
)
==
CAN_SIG_LOST
)
{
...
...
This diff is collapsed.
Click to expand it.
Firmware/Source/Application/Data_Voltage/Data_Voltage.c
View file @
8b89bf42
...
...
@@ -14,7 +14,7 @@ void Data_Voltage_Processing_Service ( void )
{
uint8_t
voltage
=
0
;
uint8_t
i
=
0
;
if
(
Common_Get_IG_Sts
()
==
COMMON_POWER
_ON
)
if
(
SYS_OPR_STAT_IGN
_ON
)
{
if
(
CAN_MSG_Status
(
&
CAN_CH0_CanMsgOp
,
CAN_CH0_ID_CAN_0x401_Msg_Count
)
==
CAN_SIG_LOST
)
{
...
...
This diff is collapsed.
Click to expand it.
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
8b89bf42
...
...
@@ -5,7 +5,7 @@
void
Gauge_Clock_Display
(
void
)
{
uint8_t
PageType_DIS
=
0
;
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER
_ON
)
if
(
SYS_OPR_STAT_IGN
_ON
)
{
PageType_DIS
=
Get_Current_PageType
();
...
...
@@ -69,7 +69,7 @@ void Gauge_Service(void)
uint8_t
k
=
0
;
if
(
ClearODO_Flag
==
1
)
{
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER
_ON
)
if
(
SYS_OPR_STAT_IGN
_ON
)
{
Check_SEG_Display
();
for
(
k
=
0
;
k
<
LampCh0_MAX
;
k
++
)
...
...
@@ -98,7 +98,7 @@ void Gauge_Service(void)
}
else
{
if
(
Common_Get_IG_Sts
(
)
==
COMMON_POWER
_ON
)
if
(
SYS_OPR_STAT_IGN
_ON
)
{
if
(
Common_GetIgnOnTime
()
>=
3030
)
{
...
...
This diff is collapsed.
Click to expand it.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
8b89bf42
...
...
@@ -4633,7 +4633,7 @@ void Checkself_SEG_Display(void)
void
TYW_Check_Count
(
void
)
{
if
((
ClearODO_Flag
==
1
)
&&
(
Common_Get_IG_Sts
()
==
COMMON_POWER
_ON
))
if
((
ClearODO_Flag
==
1
)
&&
(
SYS_OPR_STAT_IGN
_ON
))
{
if
(
check_SEG_step
<
249u
)
{
...
...
This diff is collapsed.
Click to expand it.
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