Skip to content
Snippets Groups Projects
Commit 29ed0ced authored by schneider's avatar schneider
Browse files

fix(max30001): Close properly

parent 4836abf4
Branches schneider/max30001-pycardium
No related tags found
1 merge request!226feat(max30001): Pycardium support
Pipeline #3242 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment