From c22ba82562e8f0c5ea2eff7b7255661cd0b57da5 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 28 Nov 2017 18:29:10 -0800 Subject: mpm: lmk04828: Fix docstring Says check_plls_locked() would throw an exception. That's not true. --- mpm/python/usrp_mpm/chips/lmk04828.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/python') 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 = \ -- cgit v1.2.3