From b85ee8ab251379fcb8a4129b3a08bcc52979f61c Mon Sep 17 00:00:00 2001 From: Maximilian Giller Date: Mon, 9 Oct 2023 21:21:40 +0200 Subject: [PATCH] Removed unnecessary code --- src/sensors/vl53l1x_sensor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sensors/vl53l1x_sensor.py b/src/sensors/vl53l1x_sensor.py index 20686ae..73738d3 100644 --- a/src/sensors/vl53l1x_sensor.py +++ b/src/sensors/vl53l1x_sensor.py @@ -59,5 +59,4 @@ class VL53L1XSensor(ToFSensor): return distance / 10 def close(self) -> None: - self.sensor.stop_ranging() self.sensor.close()