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`,
|
:param mode: Profile RAM mode (:const:`RAM_MODE_DIRECTSWITCH`,
|
||||||
:const:`RAM_MODE_RAMPUP`, :const:`RAM_MODE_BIDIR_RAMP`,
|
:const:`RAM_MODE_RAMPUP`, :const:`RAM_MODE_BIDIR_RAMP`,
|
||||||
:const:`RAM_MODE_CONT_BIDIR_RAMP`, or
|
:const:`RAM_MODE_CONT_BIDIR_RAMP`, or
|
||||||
:const:`RAM_MODE_CONT_RECIRCULATE`, default:
|
:const:`RAM_MODE_CONT_RAMPUP`, default:
|
||||||
:const:`RAM_MODE_RAMPUP`)
|
:const:`RAM_MODE_RAMPUP`)
|
||||||
"""
|
"""
|
||||||
hi = (step << 8) | (end >> 2)
|
hi = (step << 8) | (end >> 2)
|
||||||
|
|
Loading…
Reference in New Issue