Removed unnecessary code

This commit is contained in:
Maximilian Giller 2023-10-09 21:21:40 +02:00
parent 63509438b0
commit b85ee8ab25

View file

@ -59,5 +59,4 @@ class VL53L1XSensor(ToFSensor):
return distance / 10 return distance / 10
def close(self) -> None: def close(self) -> None:
self.sensor.stop_ranging()
self.sensor.close() self.sensor.close()