Typo in import name

This commit is contained in:
Fabio Manganiello 2019-08-15 00:35:17 +02:00
parent b15dff0a24
commit 8396c82d56

View file

@ -30,7 +30,7 @@ class GpioSensorDistanceVl53L1XPlugin(GpioSensorPlugin):
if self._device: if self._device:
return self._device return self._device
import VL53L1X from VL53L1X import VL53L1X
self._device = VL53L1X(i2c_bus=self.i2c_bus, i2c_address=self.i2c_address) self._device = VL53L1X(i2c_bus=self.i2c_bus, i2c_address=self.i2c_address)
return self._device return self._device