Skip to content

Commit 073fc9d

Browse files
authored
Merge pull request #6814 from tekktrik/doc/fix-typing
Fix type annotation in adafruit_bus_device.SPIDevice.__init__()
2 parents aaf9665 + c395e0d commit 073fc9d

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)