docs/library/pyb.SPI.rst: Document default for prescaler argument.
To prevent "non-default argument follows default argument" errors.
This commit is contained in:
parent
58cd2a8b0a
commit
7f67524031
|
@ -51,7 +51,7 @@ Methods
|
||||||
|
|
||||||
Turn off the SPI bus.
|
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:
|
Initialise the SPI bus with the given parameters:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue