diff --git a/pycardium/modules/py/max30001.py b/pycardium/modules/py/max30001.py index 67bc5169f4f2ca0020c78054f767bfdae000bab4..10f6d9e5440317aa119d9017c6d908e51d1a41fd 100644 --- a/pycardium/modules/py/max30001.py +++ b/pycardium/modules/py/max30001.py @@ -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)