From 8e02dec0fb4fd8f3e3b87a47209fc1326ee169d6 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Fri, 13 Jul 2018 15:29:21 -0700 Subject: mpm: n3xx: mg: Refactor init code All code relevant to initializing an N310/N300 daughterboard is moved to its own module (mg_init.py). No functional changes. --- mpm/python/usrp_mpm/periph_manager/n3xx.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mpm/python/usrp_mpm/periph_manager') diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py index c9714054e..bec7aa6fe 100644 --- a/mpm/python/usrp_mpm/periph_manager/n3xx.py +++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py @@ -384,6 +384,8 @@ class n3xx(ZynqComponents, PeriphManagerBase): self.log.warning("The N300 variant does not support " "external LOs! Setting to internal.") args[lo_source] = 'internal' + # Note: The parent class takes care of calling init() on all the + # daughterboards result = super(n3xx, self).init(args) # Now the clocks are all enabled, we can also re-enable PPS export if # it was turned off: -- cgit v1.2.3