Browse Source

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

To prevent "non-default argument follows default argument" errors.
pull/8281/head
Jos Verlinde 3 years ago
committed by Damien George
parent
commit
7f67524031
  1. 2
      docs/library/pyb.SPI.rst

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

Loading…
Cancel
Save