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
73c5f990
Commit
73c5f990
authored
Aug 01, 2024
by
时昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:增加时间设置超过最大值,显示最大值
parent
f035c196
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
Sys_Task_List.c
Firmware/Source/System/Sys_Task_List.c
+20
-1
No files found.
Firmware/Source/System/Sys_Task_List.c
View file @
73c5f990
...
...
@@ -3,6 +3,8 @@
#include "Components.h"
//#include "CommonInterface.h"
#include "RTE.h"
extern
RTC_CounterTypeDef
counter_val
;
extern
_Menu_Data
MenuData
;
void
Sys_Pseudo_Real_Time_Tasks
(
void
)
{
...
...
@@ -45,10 +47,25 @@ void Sys_50ms_Tasks(void)
{
Telltales_Management
();
g_u8Cursor_Posittion
=
Menu_Get_Current_Cursor_Information
();
if
((
MenuData
.
Dis_Hour_Tenb
*
10
+
MenuData
.
Dis_Hour_Bit
)
>
23
)
{
MenuData
.
Dis_Hour_Tenb
=
2
;
MenuData
.
Dis_Hour_Bit
=
3
;
}
if
((
MenuData
.
Dis_Minute_Tenb
*
10
+
MenuData
.
Dis_Minute_Bit
)
>
59
)
{
MenuData
.
Dis_Minute_Tenb
=
5
;
MenuData
.
Dis_Minute_Bit
=
9
;
}
}
uint32_t
ODOtest
=
0
;
uint32_t
Triptest
=
0
;
uint32_t
aaa
=
0
;
void
Sys_100ms_Tasks
(
void
)
{
ODOtest
=
Data_ODO_Read
();
...
...
@@ -59,6 +76,8 @@ void Sys_100ms_Tasks(void)
Services_Mileage_Callback
();
RTE_GPIO_Config
(
RTE_GPIO_PORT05_PIN04
,
GpioOut_High
);
// aaa = Menu_Item_Select_Get(MENU_ITEM_SELECT_AUTO);
}
static
uint16_t
task_2ms
=
0u
;
void
Sys_Exact_50us_Tasks
(
void
)
...
...
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