docs/library/pyb.SPI.rst: Document default for prescaler argument.

To prevent "non-default argument follows default argument" errors.
pull/8281/head
Jos Verlinde 2022-02-07 19:11:47 +01:00 zatwierdzone przez Damien George
rodzic 58cd2a8b0a
commit 7f67524031
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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: