Skip to content

Commit 48443ce

Browse files
committed
Added type hints to sdcardio
1 parent d9a98bd commit 48443ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared-bindings/sdcardio/SDCard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
//| `busio.SPI`, not `bitbangio.SPI`. Usually an SDCard object is used
4545
//| with ``storage.VfsFat`` to allow file I/O to an SD card."""
4646
//|
47-
//| def __init__(bus:busio.SPI, cs=digitalio.DigitalInOut, baudrate=8000000):
47+
//| def __init__(bus:busio.SPI, cs: digitalio.DigitalInOut=digitalio.DigitalInOut, baudrate: int=8000000):
4848
//| """Construct an SPI SD Card object with the given properties
4949
//|
5050
//| :param busio.SPI spi: The SPI bus

0 commit comments

Comments
 (0)