aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-11-11 18:14:30 -0800
committerMartin Braun <martin.braun@ettus.com>2019-11-26 12:21:33 -0800
commit59a436038445613b6552c804601297405d736fce (patch)
treeae7a308691394da7af7c5a7eacb777ab095c1ecd /host/examples
parent879f021a0247c2978074044d99c91ca5f4aaf583 (diff)
downloaduhd-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.cpp1
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;