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
1b0ae904
Commit
1b0ae904
authored
May 20, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:43593,更改胎压单位转换时显示精度
parent
25a4e32b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+4
-0
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
1b0ae904
...
@@ -1373,6 +1373,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
...
@@ -1373,6 +1373,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
{
{
if
(
m_Unit
==
0
)
if
(
m_Unit
==
0
)
{
{
IC2_SEG118
=
IC_SEG_ON
;
IC2_SEG138
=
IC_SEG_ON
;
if
(
FLASH_SYNC_1Hz
)
if
(
FLASH_SYNC_1Hz
)
{
{
IC2_SEG109
=
IC_SEG_OFF
;
IC2_SEG109
=
IC_SEG_OFF
;
...
@@ -1386,6 +1388,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
...
@@ -1386,6 +1388,8 @@ void SEG_SET_TPMS_NUM(uint8_t m_Flag, uint16_t m_NUM1, uint16_t m_NUM2, uint8_t
}
}
else
else
{
{
IC2_SEG118
=
IC_SEG_OFF
;
IC2_SEG138
=
IC_SEG_OFF
;
if
(
FLASH_SYNC_1Hz
)
if
(
FLASH_SYNC_1Hz
)
{
{
IC2_SEG109
=
IC_SEG_ON
;
IC2_SEG109
=
IC_SEG_ON
;
...
...
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