Skip to content

Commit c395e0d

Browse files
authored
Fix type annotation in adafruit_bus_device.SPIDevice.__init__()
1 parent b481411 commit c395e0d

File tree

1 file changed

+1
-1
lines changed
  • shared-bindings/adafruit_bus_device/spi_device

1 file changed

+1
-1
lines changed

shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
//| class SPIDevice:
4242
//| """SPI Device Manager"""
4343
//|
44-
//| def __init__(self, spi: busio.SPI, chip_select: microcontroller.Pin, *, baudrate: int = 100000, polarity: int = 0, phase: int = 0, extra_clocks : int = 0) -> None:
44+
//| def __init__(self, spi: busio.SPI, chip_select: digitalio.DigitalInOut, *, baudrate: int = 100000, polarity: int = 0, phase: int = 0, extra_clocks : int = 0) -> None:
4545
//|
4646
//| """
4747
//| Represents a single SPI device and manages locking the bus and the device address.

0 commit comments

Comments
 (0)