Skip to content

Commit b2cc3a4

Browse files
committed
Remove attribute annotation
1 parent 0c14497 commit b2cc3a4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

adafruit_rfm9x.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,7 @@ def __init__(
267267
self.high_power = high_power
268268
# Device support SPI mode 0 (polarity & phase = 0) up to a max of 10mhz.
269269
# Set Default Baudrate to 5MHz to avoid problems
270-
self._device: spidev.SPIDevice = spidev.SPIDevice(
271-
spi, cs, baudrate=baudrate, polarity=0, phase=0
272-
)
270+
self._device = spidev.SPIDevice(spi, cs, baudrate=baudrate, polarity=0, phase=0)
273271
# Setup reset as a digital output - initially High
274272
# This line is pulled low as an output quickly to trigger a reset.
275273
self._reset = reset

0 commit comments

Comments
 (0)