diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-11 18:14:30 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:33 -0800 |
commit | 59a436038445613b6552c804601297405d736fce (patch) | |
tree | ae7a308691394da7af7c5a7eacb777ab095c1ecd /host/examples | |
parent | 879f021a0247c2978074044d99c91ca5f4aaf583 (diff) | |
download | uhd-59a436038445613b6552c804601297405d736fce.tar.gz uhd-59a436038445613b6552c804601297405d736fce.tar.bz2 uhd-59a436038445613b6552c804601297405d736fce.zip |
examples: gpio: Add note on which bank is being used
This will print the currently-used GPIO bank's name before starting the
test.
Diffstat (limited to 'host/examples')
-rw-r--r-- | host/examples/gpio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/examples/gpio.cpp b/host/examples/gpio.cpp index 1a6579d02..98471fc53 100644 --- a/host/examples/gpio.cpp +++ b/host/examples/gpio.cpp @@ -185,6 +185,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) std::cout << "* " << bank << std::endl; } } + std::cout << "Using GPIO bank: " << gpio << std::endl; // print out initial unconfigured state of FP GPIO std::cout << "Initial GPIO values:" << std::endl; |