diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-07-24 12:34:39 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-07-28 15:57:00 -0500 |
commit | 31a107747ac28c482ea33877750f37712f5c4e92 (patch) | |
tree | 9c8b470afb15203327d73df0b7802e8c47134caa /mpm/CMakeLists.txt | |
parent | c4d7e8bca1a2da5e3a07546e67cd7f63377ddee6 (diff) | |
download | uhd-31a107747ac28c482ea33877750f37712f5c4e92.tar.gz uhd-31a107747ac28c482ea33877750f37712f5c4e92.tar.bz2 uhd-31a107747ac28c482ea33877750f37712f5c4e92.zip |
mpm: Fix documentation and minor issues in sys_utils.GPIOBank
- GPIOBank made the assumption that all bits used where contiguous. This amends
the documentation to make that more clear, and adds an assert
statement to check for that.
- reset_all() would reset all pins, regardless of DDR value, rendering
it useless for any GPIO bank that would want to have readable pins.
Fixed that by checking DDR value before resetting.
- Minor amendments to various docstrings; improve PyLint score by
removing superfluous inheritance from object.
Diffstat (limited to 'mpm/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions