From efd400b02c2e9235300c5d3c8265ee50884603b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20J=C3=B6rdens?= Date: Tue, 11 Dec 2018 09:15:25 +0000 Subject: [PATCH] ad9910: style [nfc] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Jördens --- artiq/coredevice/ad9910.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index 00e45f23c..2c35d3214 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -109,7 +109,7 @@ class AD9910: @kernel def set_phase_mode(self, phase_mode): - """Set the default phase mode. + r"""Set the default phase mode. for future calls to :meth:`set` and :meth:`set_mu`. Supported phase modes are: @@ -188,7 +188,8 @@ class AD9910: :param addr: Register address :return: 64 bit integer register value """ - self.bus.set_config_mu(urukul.SPI_CONFIG, 8, + self.bus.set_config_mu( + urukul.SPI_CONFIG, 8, urukul.SPIT_DDS_WR, self.chip_select) self.bus.write((addr | 0x80) << 24) self.bus.set_config_mu(