Skip to content

Commit 9b72e69

Browse files
committed
Linted
1 parent 602063e commit 9b72e69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_bmp3xx.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class BMP3XX_I2C(BMP3XX):
258258
"""
259259

260260
def __init__(self, i2c, address=0x77):
261-
import adafruit_bus_device.i2c_device as i2c_device
261+
from adafruit_bus_device import i2c_device
262262

263263
self._i2c = i2c_device.I2CDevice(i2c, address)
264264
super().__init__()
@@ -314,7 +314,7 @@ class BMP3XX_SPI(BMP3XX):
314314
"""
315315

316316
def __init__(self, spi, cs):
317-
import adafruit_bus_device.spi_device as spi_device
317+
from adafruit_bus_device import spi_device
318318

319319
self._spi = spi_device.SPIDevice(spi, cs)
320320
# toggle CS low/high to put BMP3XX in SPI mode

0 commit comments

Comments
 (0)