aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-11-28 18:29:10 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:05:07 -0800
commitc22ba82562e8f0c5ea2eff7b7255661cd0b57da5 (patch)
treee022f20b94c3f9db35c6c7c9de408477938eb24c /mpm/python
parent2926439e1ee593a055307704258aa361140de316 (diff)
downloaduhd-c22ba82562e8f0c5ea2eff7b7255661cd0b57da5.tar.gz
uhd-c22ba82562e8f0c5ea2eff7b7255661cd0b57da5.tar.bz2
uhd-c22ba82562e8f0c5ea2eff7b7255661cd0b57da5.zip
mpm: lmk04828: Fix docstring
Says check_plls_locked() would throw an exception. That's not true.
Diffstat (limited to 'mpm/python')
-rw-r--r--mpm/python/usrp_mpm/chips/lmk04828.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/chips/lmk04828.py b/mpm/python/usrp_mpm/chips/lmk04828.py
index 2dc603da3..d9907a49f 100644
--- a/mpm/python/usrp_mpm/chips/lmk04828.py
+++ b/mpm/python/usrp_mpm/chips/lmk04828.py
@@ -66,7 +66,6 @@ class LMK04828(object):
def check_plls_locked(self):
"""
- Checks both PLLs are locked. Will throw an exception otherwise.
Returns True if both PLLs are locked, False otherwise.
"""
def check_pll_lock(pll_id, addr):
@@ -76,7 +75,8 @@ class LMK04828(object):
"""
pll_lock_status = self.regs_iface.peek8(addr)
if (pll_lock_status & 0x7) != 0x02:
- self.log.warning("{} reporting unlocked... Status: 0x{:x}".format(pll_id, pll_lock_status))
+ self.log.warning("{} reporting unlocked... Status: 0x{:x}"
+ .format(pll_id, pll_lock_status))
return False
return True
lock_status = \