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
11c50e9f
Commit
11c50e9f
authored
Sep 10, 2024
by
李俭双
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:代码评审问题:简化代码,不做没必要的计算
parent
229176e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SEG_DISPLAY.c
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
+2
-2
No files found.
Firmware/Source/Application/SEG_DISPLAY/SEG_DISPLAY.c
View file @
11c50e9f
...
@@ -4480,9 +4480,9 @@ uint8_t Espeed_check_SEG_step = 0;
...
@@ -4480,9 +4480,9 @@ uint8_t Espeed_check_SEG_step = 0;
void
SEG_Scan_SET_EspeedDial
(
void
)
void
SEG_Scan_SET_EspeedDial
(
void
)
{
{
uint16_t
a
=
0
;
uint16_t
a
=
0
;
a
=
(
Espeed_check_SEG_step
/
10
)
*
500
;
a
=
(
Espeed_check_SEG_step
/
10
)
;
SEG_SET_EspeedDial
(
1
,
a
/
500
);
SEG_SET_EspeedDial
(
1
,
a
);
}
}
uint8_t
check_SEG_step
=
0
;
uint8_t
check_SEG_step
=
0
;
...
...
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