diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-18 18:19:08 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:34 -0800 |
commit | e4c72d53d612ab9470f366fd594cfaf530590a13 (patch) | |
tree | b9c6b17c6c4aab3c25cc877c2e8b3684f9d7d47c /mpm/python/usrp_mpm/periph_manager/e31x.py | |
parent | 79e34b4d00f9bf162af3ad45c27e416ea0d5a39a (diff) | |
download | uhd-e4c72d53d612ab9470f366fd594cfaf530590a13.tar.gz uhd-e4c72d53d612ab9470f366fd594cfaf530590a13.tar.bz2 uhd-e4c72d53d612ab9470f366fd594cfaf530590a13.zip |
mpm: e31x: Remove superfluous code from e31x_periphs
- ref_locked failure would throw a warning, even though this can happen
in normal operations, and the return value of the get_ref_locked()
function is all the info needed
- get_fpga_type() doesn't need to be called from e31x_periphs, because
it is not read from the motherboard registers (is read from the
EEPROM)
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/e31x.py')
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/e31x.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/e31x.py b/mpm/python/usrp_mpm/periph_manager/e31x.py index e8f775537..355945de4 100644 --- a/mpm/python/usrp_mpm/periph_manager/e31x.py +++ b/mpm/python/usrp_mpm/periph_manager/e31x.py @@ -725,7 +725,7 @@ class e31x(ZynqComponents, PeriphManagerBase): @no_rpc def _update_fpga_type(self): """Update the fpga type stored in the updateable components""" - fpga_type = self.mboard_regs_control.get_fpga_type() + fpga_type = "" # FIXME self.log.debug("Updating mboard FPGA type info to {}".format(fpga_type)) self.updateable_components['fpga']['type'] = fpga_type |