summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-26 23:27:53 -0500
committerJosh Blum <josh@joshknows.com>2010-11-26 23:27:53 -0500
commit9a2e26e5004d3f740c9690ad8b0b85debcb51c7a (patch)
tree00f1027792da8c466fffd6743cca4f915ca70b40 /host/lib/usrp/dboard
parent2568efd1ead77cd6c459e8f2580466a923bb4ba7 (diff)
downloaduhd-9a2e26e5004d3f740c9690ad8b0b85debcb51c7a.tar.gz
uhd-9a2e26e5004d3f740c9690ad8b0b85debcb51c7a.tar.bz2
uhd-9a2e26e5004d3f740c9690ad8b0b85debcb51c7a.zip
uhd: added read-back calls to dboard iface gpio settings, and optional mask
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/db_basic_and_lf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_basic_and_lf.cpp b/host/lib/usrp/dboard/db_basic_and_lf.cpp
index 73f894374..f771595b6 100644
--- a/host/lib/usrp/dboard/db_basic_and_lf.cpp
+++ b/host/lib/usrp/dboard/db_basic_and_lf.cpp
@@ -110,7 +110,7 @@ basic_rx::basic_rx(ctor_args_t args, double max_freq) : rx_dboard_base(args){
//set GPIOs to output 0x0000 to decrease noise pickup
this->get_iface()->set_pin_ctrl(dboard_iface::UNIT_RX, 0x0000);
this->get_iface()->set_gpio_ddr(dboard_iface::UNIT_RX, 0xFFFF);
- this->get_iface()->write_gpio(dboard_iface::UNIT_RX, 0x0000);
+ this->get_iface()->set_gpio_out(dboard_iface::UNIT_RX, 0x0000);
}
basic_rx::~basic_rx(void){