Fix type annotation in adafruit_bus_device.SPIDevice.__init__()

This commit is contained in:
Alec Delaney 2022-08-24 20:48:32 -04:00 committed by GitHub
parent b481411541
commit c395e0d217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
//| class SPIDevice: //| class SPIDevice:
//| """SPI Device Manager""" //| """SPI Device Manager"""
//| //|
//| def __init__(self, spi: busio.SPI, chip_select: microcontroller.Pin, *, baudrate: int = 100000, polarity: int = 0, phase: int = 0, extra_clocks : int = 0) -> None: //| def __init__(self, spi: busio.SPI, chip_select: digitalio.DigitalInOut, *, baudrate: int = 100000, polarity: int = 0, phase: int = 0, extra_clocks : int = 0) -> None:
//| //|
//| """ //| """
//| Represents a single SPI device and manages locking the bus and the device address. //| Represents a single SPI device and manages locking the bus and the device address.