Skip to content

Commit d086c79

Browse files
committed
fix pylint complaint again
1 parent 9397961 commit d086c79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adafruit_rfm69.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272
from micropython import const
7373

74-
import adafruit_bus_device.spi_device as spi_device
74+
import adafruit_bus_device.spi_device as spidev
7575

7676

7777
__version__ = "0.0.0-auto.0"
@@ -293,8 +293,8 @@ def __init__(self, spi, cs, reset, frequency, *, sync_word=b'\x2D\xD4',
293293
self._tx_power = 13
294294
self.high_power = high_power
295295
# Device support SPI mode 0 (polarity & phase = 0) up to a max of 10mhz.
296-
self._device = spi_device.SPIDevice(spi, cs, baudrate=baudrate,
297-
polarity=0, phase=0)
296+
self._device = spidev.SPIDevice(spi, cs, baudrate=baudrate,
297+
polarity=0, phase=0)
298298
# Setup reset as a digital output that's low.
299299
self._reset = reset
300300
self._reset.switch_to_output(value=False)

0 commit comments

Comments
 (0)