aboutsummaryrefslogtreecommitdiffstats
path: root/.ci
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2022-06-06 15:53:57 -0500
committerskooNI <60897865+skooNI@users.noreply.github.com>2022-07-20 15:57:20 -0500
commit6a3540ed463b7a42794d99d3f6417eba57f4f211 (patch)
treefe5b0ce7200af3978f8cfc43c5c6fa71b7bf7e31 /.ci
parent44c50ff370c79eed7c6455c77e2b91b7488c554e (diff)
downloaduhd-6a3540ed463b7a42794d99d3f6417eba57f4f211.tar.gz
uhd-6a3540ed463b7a42794d99d3f6417eba57f4f211.tar.bz2
uhd-6a3540ed463b7a42794d99d3f6417eba57f4f211.zip
x300: Fix invalid GPIO source bank error message
When calling `get_gpio_srcs()` or `get_gpio_src()` with an invalid bank parameter, the error text associated with the `uhd::runtime_error` that is thrown prints the expected bank, not the erroneous bank, e.g.: >>> my_x310.get_gpio_srcs('BAD_BANK', 0) [ERROR] [X300::MB_CTRL] Invalid GPIO source bank: BAD_BANK. Only supported bank is FP0 Traceback (most recent call last): File "<stdin>", line 2, in <module> RuntimeError: RuntimeError: Invalid GPIO source bank: FP0 The invalid source bank on the last line should read BAD_BANK, not FP0.
Diffstat (limited to '.ci')
0 files changed, 0 insertions, 0 deletions