diff options
| author | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 11:15:22 -0400 |
|---|---|---|
| committer | dherrada <dylan.herrada@adafruit.com> | 2020-07-03 11:15:22 -0400 |
| commit | 48443ce02bfb6aff91b5d5da203976822bfb2556 (patch) | |
| tree | 00fd681e64c4838b701e035d7a17fd671380ec44 | |
| parent | d9a98bd05c90ebe4746e8a646e28d26030864c94 (diff) | |
Added type hints to sdcardio
| -rw-r--r-- | shared-bindings/sdcardio/SDCard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/sdcardio/SDCard.c b/shared-bindings/sdcardio/SDCard.c index 1d8c4bafb..6b32bb1c1 100644 --- a/shared-bindings/sdcardio/SDCard.c +++ b/shared-bindings/sdcardio/SDCard.c @@ -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 |
