aboutsummaryrefslogtreecommitdiffstats
path: root/host/docs/gpio_api.dox
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-05-05 17:11:33 -0700
committerMartin Braun <martin.braun@ettus.com>2015-05-05 17:11:33 -0700
commite81f9ee3c7405b99cd4f06e5076205fcce1b95a5 (patch)
treeb6d354e428a612a159f7fc325f00ee73278317d1 /host/docs/gpio_api.dox
parenta0b808e158e75369cfe6f4c97224952664939fdd (diff)
parent5c5bbac3e0bf553981c38ee8b1503f1154d7f6c6 (diff)
downloaduhd-e81f9ee3c7405b99cd4f06e5076205fcce1b95a5.tar.gz
uhd-e81f9ee3c7405b99cd4f06e5076205fcce1b95a5.tar.bz2
uhd-e81f9ee3c7405b99cd4f06e5076205fcce1b95a5.zip
Merge branch 'maint'
Diffstat (limited to 'host/docs/gpio_api.dox')
-rw-r--r--host/docs/gpio_api.dox2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/docs/gpio_api.dox b/host/docs/gpio_api.dox
index 186f28093..d3bb4f0a9 100644
--- a/host/docs/gpio_api.dox
+++ b/host/docs/gpio_api.dox
@@ -158,7 +158,7 @@ GPIO bank, where the controlled GPIO is now GPIO3 instead of GPIO6.
usrp_e300->set_gpio_attr("INT0", "DDR", GPIO_DDR, ATR_MASKS);
// let's manually set GPIO4 high
- usrp_e300->set_gpio_attr("INT0", "OUT", 1, MAN_GPIO_MASK);
+ usrp_e300->set_gpio_attr("INT0", "OUT", (1 << 4), MAN_GPIO_MASK);
// finally, let's set up GPIO6 as we described above
usrp_e300->set_gpio_attr("INT0", "ATR_0X", 0, AMP_GPIO_MASK);