diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-07-13 15:29:21 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-07-17 10:49:21 -0700 |
commit | 8e02dec0fb4fd8f3e3b87a47209fc1326ee169d6 (patch) | |
tree | 5b26864952102e0b5b2a03f2d0ab62e9bca4ac44 /mpm/python/usrp_mpm/periph_manager | |
parent | 2fce1974d9915813bebd09ee9981929b2006fd6c (diff) | |
download | uhd-8e02dec0fb4fd8f3e3b87a47209fc1326ee169d6.tar.gz uhd-8e02dec0fb4fd8f3e3b87a47209fc1326ee169d6.tar.bz2 uhd-8e02dec0fb4fd8f3e3b87a47209fc1326ee169d6.zip |
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.
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/n3xx.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |