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
2a5f4dfa
Commit
2a5f4dfa
authored
Jun 18, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:更改胎压显示策略
parent
657958d6
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
925 additions
and
262 deletions
+925
-262
GUI_Display.c
Firmware/Source/Application/GUI_Display/GUI_Display.c
+1
-1
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+921
-260
SEG_DISPLAY.h
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.h
+3
-1
No files found.
Firmware/Source/Application/GUI_Display/GUI_Display.c
View file @
2a5f4dfa
...
...
@@ -129,7 +129,7 @@ void Gauge_Service(void)
SEG_SET_CoolantDial
(
1
,
GET_DataCoolantTempSegDisp
(),
GET_DataCoolantTempValueDisp
(),
GET_DataCollantTempSegValid
());
SEG_SET_Voltage_NUM
(
1
,
Get_Battery_Voltage
());
#if(IC_Current == TY200_080000b_ty)
SEG_SET_TPMS_
NUM
(
1
,
Get_Front_TPMS_Sig_Value
(),
Get_Rear_TPMS_Sig_Value
(),
Get_Dis_Tpms_Unit
(),
Get_Front_TPMS_Sig_Vaild
(),
Get_Rear_TPMS_Sig_Vaild
());
SEG_SET_TPMS_
DISPLAY
(
1
,
Get_Front_TPMS_Sig_Value
(),
Get_Rear_TPMS_Sig_Value
(),
Get_Dis_Tpms_Unit
(),
Get_Front_TPMS_Sig_Vaild
(),
Get_Rear_TPMS_Sig_Vaild
());
#endif
SEG_SET_Navigation_STS
(
Get_Navigation_St_Dis
(),
Get_Navigation_Code_Dis
(),
Get_Navigation_Mileage_Dis
());
...
...
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
2a5f4dfa
This diff is collapsed.
Click to expand it.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.h
View file @
2a5f4dfa
...
...
@@ -48,11 +48,13 @@ void SEG_SET_EspeedDial(uint8_t m_Flag, uint8_t m_SEG);
void
SEG_SET_CoolantDial
(
uint8_t
m_Flag
,
uint8_t
m_SEG
,
uint16_t
m_Num
,
uint8_t
m_flash
);
void
SEG_SET_VSpeed_NUM
(
uint8_t
m_Flag
,
uint16_t
m_NUM
,
uint8_t
m_Unit
);
void
SEG_SET_Voltage_NUM
(
uint8_t
m_Flag
,
uint16_t
m_NUM
);
void
SEG_SET_TPMS_
NUM
(
uint8_t
m_Flag
,
uint16_t
m_NUM1
,
uint16_t
m_NUM2
,
uint8_t
m_Unit
,
uint8_t
m_valid1
,
uint8_t
m_valid2
);
void
SEG_SET_TPMS_
DISPLAY
(
uint8_t
m_Flag
,
uint16_t
m_NUM1
,
uint16_t
m_NUM2
,
uint8_t
m_Unit
,
uint8_t
m_valid1
,
uint8_t
m_valid2
);
void
SEG_SET_ODO_TRIP_FAULTCODE_TCS_DIS
(
uint8_t
m_Uint
,
uint32_t
m_NUM_ODO
,
uint32_t
m_NUM_TRIP
);
void
SEG_SET_Clock
(
uint8_t
m_hour
,
uint8_t
m_minute
,
uint8_t
m_icon
,
uint8_t
m_Flag1
,
uint8_t
m_Flag2
);
void
SEG_SET_Navigation_STS
(
uint8_t
m_Flag
,
uint8_t
m_Code
,
uint32_t
m_Mileage
);
void
Check_SEG_Display
(
void
);
void
SEG_SET_FRONT_TPMS_NUM
(
uint8_t
learnflag
,
uint16_t
m_NUM1
,
uint8_t
m_valid1
);
void
SEG_SET_Rear_TPMS_NUM
(
uint8_t
learnflag
,
uint16_t
m_NUM2
,
uint8_t
m_valid2
);
extern
uint8_t
check_SEG_step
;
extern
uint8_t
Espeed_check_SEG_step
;
...
...
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