Commit 29ed0ced authored by schneider's avatar schneider
Browse files

fix(max30001): Close properly

parent 4836abf4
Pipeline #3242 passed with stages
in 1 minute and 17 seconds
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment