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
72e115d2
Commit
72e115d2
authored
Dec 09, 2021
by
hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整胎压显示
parent
5d7581ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
20 deletions
+13
-20
Service_TPMS.c
source/Application/APP/Data_TPMS/Service_TPMS.c
+13
-12
Service_TPMS.h
source/Application/APP/Data_TPMS/Service_TPMS.h
+0
-8
No files found.
source/Application/APP/Data_TPMS/Service_TPMS.c
View file @
72e115d2
...
...
@@ -584,18 +584,19 @@ uint8_t Get_TPMSSensor_fault_Sta(void)
{
uint8_t
Sensor_fault
=
0x00u
;
if
((
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x09u
))
if
(
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FirstROut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
SecondRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
ThirdROut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLOut
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthLIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthRIn
)
==
0x09u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x07u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x08u
)
||
(
Get_DataTPMS_SensorErrorWarningSig_Value
(
FourthROut
)
==
0x09u
))
{
Sensor_fault
=
0x01u
;
}
...
...
source/Application/APP/Data_TPMS/Service_TPMS.h
View file @
72e115d2
...
...
@@ -36,14 +36,6 @@ typedef enum
TPMSNumMax
,
}
TPMSNUM_t
;
typedef
enum
{
SOLID_GRAY
=
0
,
WHITEBOX_GRAY
,
YELLOW_FLASH
,
SOLID_GREEN
,
}
en_TPMSGUI
;
typedef
struct
{
uint8_t
TPMSTyreID
;
/*轮胎位置*/
...
...
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