Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
Thick-Common
Project
Project
Details
Activity
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
潘栩锋
Thick-Common
Commits
735de845
Commit
735de845
authored
Oct 14, 2020
by
潘栩锋
🚴
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复 当AD盒的systick 比电脑要慢5秒,调整到systick 为当前时间
parent
833f02d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
FlyAD7.cs
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
+6
-1
No files found.
Project.FLY.FlyADBase/FlyADBase/FlyAD7.cs
View file @
735de845
...
@@ -590,7 +590,12 @@ namespace FlyADBase
...
@@ -590,7 +590,12 @@ namespace FlyADBase
systick_1st
=
systick
;
systick_1st
=
systick
;
dt_1st
=
dt
;
dt_1st
=
dt
;
if
(
Math
.
Abs
((
DateTime
.
Now
-
dt
).
TotalSeconds
)
>
5000
)
//滞后5s,异常
{
//修正
dt
=
DateTime
.
Now
;
dt_1st
=
dt
;
}
return
dt
;
return
dt
;
}
}
...
...
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