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

fix(max30001): Close properly

parent 4836abf4
......@@ -74,7 +74,7 @@ class MAX30001:
if = 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