Skip to content
Snippets Groups Projects
Commit 5db43c38 authored by schneider's avatar schneider
Browse files

fix(max30001): Close properly

parent 1763644f
No related branches found
No related tags found
No related merge requests found
Pipeline #3240 failed
......@@ -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