diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-02-18 14:29:32 -0800 |
---|---|---|
committer | atrnati <54334261+atrnati@users.noreply.github.com> | 2020-02-26 08:41:34 -0600 |
commit | c74c56ef9414ba24f722d63026608b52fc88be8a (patch) | |
tree | d19292ae01c9af9b529abfda3f11a907582f6f91 /mpm | |
parent | 2362b3b3fbfd642c92b782771863fa2cd8ef23b0 (diff) | |
download | uhd-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.py | 2 | ||||
-rw-r--r-- | mpm/python/usrp_mpm/periph_manager/e320.py | 2 |
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): """ |