Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tempus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
karaboDevices
tempus
Commits
f77cd8ba
Commit
f77cd8ba
authored
1 month ago
by
Björn Senfftleben
Browse files
Options
Downloads
Patches
Plain Diff
bugfix - deinitialize is a background task it self end thus cannot await its completion first
parent
e0b12c9a
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#164541
failed
1 month ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tempus/Tempus.py
+2
-2
2 additions, 2 deletions
src/tempus/Tempus.py
with
2 additions
and
2 deletions
src/tempus/Tempus.py
+
2
−
2
View file @
f77cd8ba
...
...
@@ -312,8 +312,8 @@ class Tempus(Device):
async
def
_de_initialize
(
self
):
self
.
do_acquire
=
False
if
self
.
background_task
:
await
self
.
background_task
#
if self.background_task:
#
await self.background_task
try
:
await
self
.
send_command
(
"
os.system(
'
devmem2 0x80010004 w 0x2
'
)
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment