diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-01-03 13:40:52 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-11 14:50:12 -0800 |
commit | ca74d5cd8cafd007f6dee9af8eb5362c2a70e7fd (patch) | |
tree | 393ba01547321b13ceca6fa9399f2602562032e2 /mpm/python/usrp_mpm | |
parent | cdc9d60e73bfe5b256f57388c6ed66753af195db (diff) | |
download | uhd-ca74d5cd8cafd007f6dee9af8eb5362c2a70e7fd.tar.gz uhd-ca74d5cd8cafd007f6dee9af8eb5362c2a70e7fd.tar.bz2 uhd-ca74d5cd8cafd007f6dee9af8eb5362c2a70e7fd.zip |
mpm: periph_manager: Pass default args to dboard manager
Diffstat (limited to 'mpm/python/usrp_mpm')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/base.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/base.py b/mpm/python/usrp_mpm/periph_manager/base.py index 474180c31..4db74e8dd 100644 --- a/mpm/python/usrp_mpm/periph_manager/base.py +++ b/mpm/python/usrp_mpm/periph_manager/base.py @@ -138,7 +138,7 @@ class PeriphManagerBase(object): try: self._init_mboard_with_eeprom() self._init_mboard_overlays(self._eeprom_head, args) - self._init_dboards(args.override_db_pids) + self._init_dboards(args.override_db_pids, args) self._device_initialized = True except Exception as ex: self.log.error("Failed to initialize device: %s", str(ex)) @@ -220,7 +220,7 @@ class PeriphManagerBase(object): sleep(1) - def _init_dboards(self, override_dboard_pids=None): + def _init_dboards(self, override_dboard_pids, default_args): """ Initialize all the daughterboards """ @@ -279,6 +279,7 @@ class PeriphManagerBase(object): 'eeprom_rawdata': dboard_eeprom_rawdata, 'pid': db_pid, 'spi_nodes': spi_nodes, + 'default_args': default_args, } # This will actually instantiate the dboard class: self.dboards.append(db_class(dboard_idx, **dboard_info)) |