diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-01-10 16:20:24 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-01-10 17:31:21 -0800 |
commit | d682a90255af146b6c85d8369fa92b3b934f4cca (patch) | |
tree | 3e3e1c358fe10bac18020139c3a635f2713d5264 /mpm/python/n3xx_bist | |
parent | ab1148d62d897a0262a803269254586699b82495 (diff) | |
download | uhd-d682a90255af146b6c85d8369fa92b3b934f4cca.tar.gz uhd-d682a90255af146b6c85d8369fa92b3b934f4cca.tar.bz2 uhd-d682a90255af146b6c85d8369fa92b3b934f4cca.zip |
mpm: Factor GPIO panel code into common module
GPIOBank is the new class, n310.FrontpanelGPIO and BackpanelGPIO now
derive from that.
Other minor changes:
- Renamed classes to FrontpanelGPIO and BackpanelGPIO in accordance
with coding guidelines
- Moved MboardRegsControl before n310 class for consistent code layout
Diffstat (limited to 'mpm/python/n3xx_bist')
-rwxr-xr-x | mpm/python/n3xx_bist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 71b201888..0a4835f63 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -684,7 +684,7 @@ class N310BIST(object): ddr2 = 0xfc0 def _run_gpio(ddr, patterns): " Run a GPIO test for a given set of patterns " - gpio_ctrl = n310.FP_GPIO(ddr) + gpio_ctrl = n310.FrontpanelGPIO(ddr) for pattern in patterns: gpio_ctrl.set_all(pattern) time.sleep(0.1) |