aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/dboard_manager/magnesium.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-11-15 11:14:04 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:05 -0800
commite9a7db19ab1c2ad99c47092ffe186e46eccc0895 (patch)
tree5b4b1d13e9b76e9afdb59f4950ae63e2447aee35 /mpm/python/usrp_mpm/dboard_manager/magnesium.py
parent08d8a34a2ae9b972a5465f910c50fec50d8cb0f8 (diff)
downloaduhd-e9a7db19ab1c2ad99c47092ffe186e46eccc0895.tar.gz
uhd-e9a7db19ab1c2ad99c47092ffe186e46eccc0895.tar.bz2
uhd-e9a7db19ab1c2ad99c47092ffe186e46eccc0895.zip
mpm: Fix minor logging issues with LMK04828 code
Log prefixes weren't properly being set.
Diffstat (limited to 'mpm/python/usrp_mpm/dboard_manager/magnesium.py')
-rw-r--r--mpm/python/usrp_mpm/dboard_manager/magnesium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/dboard_manager/magnesium.py b/mpm/python/usrp_mpm/dboard_manager/magnesium.py
index 02803b61c..032502012 100644
--- a/mpm/python/usrp_mpm/dboard_manager/magnesium.py
+++ b/mpm/python/usrp_mpm/dboard_manager/magnesium.py
@@ -468,7 +468,7 @@ class Magnesium(DboardManagerBase):
))
pdac_spi.poke16(0x0, init_phase_dac_word)
self.spi_lock = self._device.get_spi_lock()
- return LMK04828Mg(lmk_spi, self.spi_lock, ref_clk_freq, slot_idx)
+ return LMK04828Mg(lmk_spi, self.spi_lock, ref_clk_freq, self.log)
def _sync_db_clock(synchronizer):
" Synchronizes the DB clock to the common reference "
synchronizer.run_sync(measurement_only=False)