Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
haoJin750TFT
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
时昊
haoJin750TFT
Commits
1e1bc76f
Commit
1e1bc76f
authored
Aug 22, 2024
by
王金亮
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:56474 【豪进7500TFT】【时间】(白天模式)进入时间设置中,短按“SELECT”按键,小时位23和24反复切换
在时钟十位为2的时候,个位最大为3,超过3为0
parent
96329a20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Menu_Interface.c
Firmware/Source/Component/Menu/Menu_Interface.c
+8
-1
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+1
-1
No files found.
Firmware/Source/Component/Menu/Menu_Interface.c
View file @
1e1bc76f
...
...
@@ -412,7 +412,14 @@ void Menu_Logic_Operation_Clock_Hour_Bit_Set(Menu_Key_en_t enKeyType)
if
(
enKeyType
==
MENU_KEY_DOWN_SHORT
)
{
updataDir
=
1
;
datmax
=
9u
;
if
(
MenuData
.
Dis_Hour_Tenb
==
2
)
{
datmax
=
3u
;
}
else
{
datmax
=
9u
;
}
datmin
=
0u
;
Menu_u8Data_Updata_Process
(
updataDir
,
datmax
,
datmin
,
1u
,
(
uint8_t
*
)
&
(
MenuData
.
Dis_Hour_Bit
));
}
...
...
Firmware/Source/System/Sys_Task_List.c
View file @
1e1bc76f
...
...
@@ -62,7 +62,7 @@ void Sys_50ms_Tasks(void)
if
((
MenuData
.
Dis_Hour_Tenb
*
10
+
MenuData
.
Dis_Hour_Bit
)
>
23
)
{
MenuData
.
Dis_Hour_Tenb
=
2
;
MenuData
.
Dis_Hour_Bit
=
3
;
MenuData
.
Dis_Hour_Bit
=
0
;
}
if
((
MenuData
.
Dis_Minute_Tenb
*
10
+
MenuData
.
Dis_Minute_Bit
)
>
59
)
...
...
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