diff options
author | Jos Verlinde <jos.verlinde@microsoft.com> | 2022-02-07 19:11:47 +0100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-02-09 15:06:34 +1100 |
commit | 7f67524031a04d972ba59a50e5e320adadbcb893 (patch) | |
tree | 98856b5dea64ec99d243da681b96c1cb69499f49 | |
parent | 58cd2a8b0a16ba65b7390e425d37a825141735d3 (diff) | |
download | micropython-7f67524031a04d972ba59a50e5e320adadbcb893.tar.gz micropython-7f67524031a04d972ba59a50e5e320adadbcb893.zip |
docs/library/pyb.SPI.rst: Document default for prescaler argument.
To prevent "non-default argument follows default argument" errors.
-rw-r--r-- | docs/library/pyb.SPI.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/pyb.SPI.rst b/docs/library/pyb.SPI.rst index 1bdb73a5dd..14b90a2240 100644 --- a/docs/library/pyb.SPI.rst +++ b/docs/library/pyb.SPI.rst @@ -51,7 +51,7 @@ Methods Turn off the SPI bus. -.. method:: SPI.init(mode, baudrate=328125, *, prescaler, polarity=1, phase=0, bits=8, firstbit=SPI.MSB, ti=False, crc=None) +.. method:: SPI.init(mode, baudrate=328125, *, prescaler=-1, polarity=1, phase=0, bits=8, firstbit=SPI.MSB, ti=False, crc=None) Initialise the SPI bus with the given parameters: |