aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
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_manager.cpp
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_manager.cpp')
-rw-r--r--host/lib/usrp/dboard_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp
index 5a98bb8eb..72bfd89e8 100644
--- a/host/lib/usrp/dboard_manager.cpp
+++ b/host/lib/usrp/dboard_manager.cpp
@@ -327,7 +327,7 @@ void dboard_manager_impl::set_nice_dboard_if(void){
//set nice settings on each unit
BOOST_FOREACH(dboard_iface::unit_t unit, units){
_iface->set_gpio_ddr(unit, 0x0000); //all inputs
- _iface->write_gpio(unit, 0x0000); //all low
+ _iface->set_gpio_out(unit, 0x0000); //all low
_iface->set_pin_ctrl(unit, 0x0000); //all gpio
_iface->set_clock_enabled(unit, false); //clock off
}