Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiancetai
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
陈家乐
jiancetai
Commits
c13aad25
Commit
c13aad25
authored
Dec 30, 2025
by
李鑫3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
✨
feat:添加读取等待
parent
0edea901
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
Task.c
YueJin_test_bench/source/Appliciation/Task.c
+20
-1
No files found.
YueJin_test_bench/source/Appliciation/Task.c
View file @
c13aad25
...
@@ -73,8 +73,27 @@ void Sys_Run_Mode_5ms_Tasks_Group(void)
...
@@ -73,8 +73,27 @@ void Sys_Run_Mode_5ms_Tasks_Group(void)
10ms����ִ������ ��0��
10ms����ִ������ ��0��
------------------------------------------------------------------------------*/
------------------------------------------------------------------------------*/
uint32_t
ODOvalue
=
0
;
uint32_t
ODOvalue
=
0
;
uint8_t
rightflg
=
0
;
uint8_t
readflag
=
0
;
uint8_t
readflag_now
=
0
;
uint8_t
readflag_front
=
0
;
void
Sys_Run_Mode_10ms_Tasks_Group
(
void
)
void
Sys_Run_Mode_10ms_Tasks_Group
(
void
)
{
{
readflag_front
=
zhenduanstep
;
if
(
readflag_front
!=
readflag_now
)
{
readflag_now
=
readflag_front
;
readflag
=
0
;
}
else
{
readflag
++
;
if
(
readflag
==
150
)
{
zhenduanstep
=
0
;
readflag
=
0
;
}
}
ODOvalue
=
Get_ODO_Value
();
ODOvalue
=
Get_ODO_Value
();
if
(
ODOvalue
>
0
&&
MENU_CHECK_STEP
==
0
&&
ODOclearflag
==
0
)
if
(
ODOvalue
>
0
&&
MENU_CHECK_STEP
==
0
&&
ODOclearflag
==
0
)
{
{
...
@@ -114,7 +133,7 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
...
@@ -114,7 +133,7 @@ void Sys_Run_Mode_10ms_Tasks_Group(void)
Key_Service
(
);
Key_Service
(
);
}
}
if
()
resetchangeUDSfuc
();
resetchangeUDSfuc
();
...
...
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