aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n310.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-05-10 18:04:31 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:53 -0800
commit13cd22e86763f4bfd9419a573ae96b4748b6781b (patch)
tree042bf68d09603e6488b9a827572c7a28bdd404d1 /mpm/python/usrp_mpm/periph_manager/n310.py
parent4efea95324b66477f877d65c2d9c6ce188850174 (diff)
downloaduhd-13cd22e86763f4bfd9419a573ae96b4748b6781b.tar.gz
uhd-13cd22e86763f4bfd9419a573ae96b4748b6781b.tar.bz2
uhd-13cd22e86763f4bfd9419a573ae96b4748b6781b.zip
mpm: Added command line args to usrp_hwd.py
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n310.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n310.py b/mpm/python/usrp_mpm/periph_manager/n310.py
index 4d36700a3..59eb7da94 100644
--- a/mpm/python/usrp_mpm/periph_manager/n310.py
+++ b/mpm/python/usrp_mpm/periph_manager/n310.py
@@ -112,9 +112,9 @@ class n310(PeriphManagerBase):
dboard_spimaster_addrs = ["e0006000.spi",]
- def __init__(self, *args, **kwargs):
+ def __init__(self, args):
# First initialize parent class - will populate self._eeprom_head and self._eeprom_rawdata
- super(n310, self).__init__(*args, **kwargs)
+ super(n310, self).__init__(args)
self.log.trace("Initializing TCA6424 port expander controls...")
self._gpios = TCA6424()