Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PetePriority
firmware
Commits
29ed0ced
Commit
29ed0ced
authored
Aug 23, 2019
by
schneider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(max30001): Close properly
parent
4836abf4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pycardium/modules/py/max30001.py
pycardium/modules/py/max30001.py
+1
-1
No files found.
pycardium/modules/py/max30001.py
View file @
29ed0ced
...
...
@@ -74,7 +74,7 @@ class MAX30001:
if
self
.
active
:
self
.
active
=
False
ret
=
sys_max30001
.
disable_sensor
(
self
.
sensor_id
)
ret
=
sys_max30001
.
disable_sensor
()
if
ret
<
0
:
raise
ValueError
(
"Disable sensor returned %i"
,
ret
)
...
...
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