mirror of https://github.com/m-labs/artiq.git
Docs: fix build warnings (#1234)
* ad9910: finish CONT_RECIRCULATE -> CONT_RAMPUP Found while building docs. Forgot to refactor strings. Signed-off-by: Drew Risinger <drewrisinger@users.noreply.github.com> * spi2: reformat update_xfer_duration_mu docstring update_xfer_duration_mu docstring threw warning while building docs, didn't use consistent indent in warning. Signed-off-by: Drew Risinger <drewrisinger@users.noreply.github.com>
This commit is contained in:
parent
4fb434674d
commit
40370c4d45
|
@ -441,7 +441,7 @@ class AD9910:
|
|||
:param mode: Profile RAM mode (:const:`RAM_MODE_DIRECTSWITCH`,
|
||||
:const:`RAM_MODE_RAMPUP`, :const:`RAM_MODE_BIDIR_RAMP`,
|
||||
:const:`RAM_MODE_CONT_BIDIR_RAMP`, or
|
||||
:const:`RAM_MODE_CONT_RECIRCULATE`, default:
|
||||
:const:`RAM_MODE_CONT_RAMPUP`, default:
|
||||
:const:`RAM_MODE_RAMPUP`)
|
||||
"""
|
||||
hi = (step << 8) | (end >> 2)
|
||||
|
|
|
@ -187,10 +187,10 @@ class SPIMaster:
|
|||
:meth:`__init__`.
|
||||
|
||||
.. warning:: If this method is called while recording a DMA
|
||||
sequence, the playback of the sequence will not update the
|
||||
driver state.
|
||||
When required, update the driver state manually (by calling
|
||||
this method) after playing back a DMA sequence.
|
||||
sequence, the playback of the sequence will not update the
|
||||
driver state.
|
||||
When required, update the driver state manually (by calling
|
||||
this method) after playing back a DMA sequence.
|
||||
|
||||
:param div: SPI clock divider (see: :meth:`set_config_mu`)
|
||||
:param length: SPI transfer length (see: :meth:`set_config_mu`)
|
||||
|
|
Loading…
Reference in New Issue