aboutsummaryrefslogtreecommitdiffstats
path: root/mpm
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-02-18 14:29:32 -0800
committeratrnati <54334261+atrnati@users.noreply.github.com>2020-02-26 08:41:34 -0600
commitc74c56ef9414ba24f722d63026608b52fc88be8a (patch)
treed19292ae01c9af9b529abfda3f11a907582f6f91 /mpm
parent2362b3b3fbfd642c92b782771863fa2cd8ef23b0 (diff)
downloaduhd-c74c56ef9414ba24f722d63026608b52fc88be8a.tar.gz
uhd-c74c56ef9414ba24f722d63026608b52fc88be8a.tar.bz2
uhd-c74c56ef9414ba24f722d63026608b52fc88be8a.zip
e320/e310: Fix get_gpio_srcs() MPM API call
The Python code contained a typo which would cause a call to get_gpio_srcs() to throw an exception.
Diffstat (limited to 'mpm')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/e31x.py2
-rw-r--r--mpm/python/usrp_mpm/periph_manager/e320.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/e31x.py b/mpm/python/usrp_mpm/periph_manager/e31x.py
index 75dcf2126..d3768490e 100644
--- a/mpm/python/usrp_mpm/periph_manager/e31x.py
+++ b/mpm/python/usrp_mpm/periph_manager/e31x.py
@@ -583,7 +583,7 @@ class e31x(ZynqComponents, PeriphManagerBase):
Return a list of valid GPIO sources for a given bank
"""
assert bank in self.get_gpio_banks(), "Invalid GPIO bank: {}".format(bank)
- return self._fp_gpio_srcs
+ return E310_GPIO_SRCS
def get_gpio_src(self, bank):
"""
diff --git a/mpm/python/usrp_mpm/periph_manager/e320.py b/mpm/python/usrp_mpm/periph_manager/e320.py
index f982155db..82185e51c 100644
--- a/mpm/python/usrp_mpm/periph_manager/e320.py
+++ b/mpm/python/usrp_mpm/periph_manager/e320.py
@@ -517,7 +517,7 @@ class e320(ZynqComponents, PeriphManagerBase):
Return a list of valid GPIO sources for a given bank
"""
assert bank in self.get_gpio_banks(), "Invalid GPIO bank: {}".format(bank)
- return self._fp_gpio_srcs
+ return E320_GPIO_SRCS
def get_gpio_src(self, bank):
"""