Added type hints to sdcardio

This commit is contained in:
dherrada 2020-07-03 11:15:22 -04:00
parent d9a98bd05c
commit 48443ce02b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
//| `busio.SPI`, not `bitbangio.SPI`. Usually an SDCard object is used
//| with ``storage.VfsFat`` to allow file I/O to an SD card."""
//|
//| def __init__(bus:busio.SPI, cs=digitalio.DigitalInOut, baudrate=8000000):
//| def __init__(bus:busio.SPI, cs: digitalio.DigitalInOut=digitalio.DigitalInOut, baudrate: int=8000000):
//| """Construct an SPI SD Card object with the given properties
//|
//| :param busio.SPI spi: The SPI bus