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

fix(max30001): Close properly

parent 4836abf4
...@@ -74,7 +74,7 @@ class MAX30001: ...@@ -74,7 +74,7 @@ class MAX30001:
if self.active: if self.active:
self.active = False self.active = False
ret = sys_max30001.disable_sensor(self.sensor_id) ret = sys_max30001.disable_sensor()
if ret < 0: if ret < 0:
raise ValueError("Disable sensor returned %i", ret) raise ValueError("Disable sensor returned %i", ret)
......
Markdown is supported
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