From 13cd22e86763f4bfd9419a573ae96b4748b6781b Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 10 May 2017 18:04:31 -0700 Subject: mpm: Added command line args to usrp_hwd.py --- mpm/python/usrp_mpm/periph_manager/n310.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/python/usrp_mpm/periph_manager/n310.py') 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() -- cgit v1.2.3