diff options
author | Josh Blum <josh@joshknows.com> | 2010-03-30 17:24:47 +0000 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-03-30 17:24:47 +0000 |
commit | 1dbd0788bec3964e7a5913f4e9b09cde266e5d19 (patch) | |
tree | 342f18080f5f99cb9d25e4244636e17a465e2d38 /host/lib/usrp/dboard_manager.cpp | |
parent | 2f81e2f7086eec7c0ae4370555ddae6e2f6ce2de (diff) | |
parent | f7867f4a510eb2b83b1a11bc3f08e3d74e6877ba (diff) | |
download | uhd-1dbd0788bec3964e7a5913f4e9b09cde266e5d19.tar.gz uhd-1dbd0788bec3964e7a5913f4e9b09cde266e5d19.tar.bz2 uhd-1dbd0788bec3964e7a5913f4e9b09cde266e5d19.zip |
Merge branch 'master' of git@ettus.sourcerepo.com:ettus/uhd into usrp_e
Diffstat (limited to 'host/lib/usrp/dboard_manager.cpp')
-rw-r--r-- | host/lib/usrp/dboard_manager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp index 424626023..15be7eedc 100644 --- a/host/lib/usrp/dboard_manager.cpp +++ b/host/lib/usrp/dboard_manager.cpp @@ -275,11 +275,11 @@ wax::obj dboard_manager_impl::get_tx_subdev(const std::string &subdev_name){ void dboard_manager_impl::set_nice_gpio_pins(void){ //std::cout << "Set nice GPIO pins" << std::endl; - _interface->set_gpio_ddr(dboard_interface::GPIO_RX_BANK, 0x0000, 0xffff); //all inputs - _interface->set_gpio_ddr(dboard_interface::GPIO_TX_BANK, 0x0000, 0xffff); + _interface->set_gpio_ddr(dboard_interface::GPIO_RX_BANK, 0x0000); //all inputs + _interface->set_gpio_ddr(dboard_interface::GPIO_TX_BANK, 0x0000); - _interface->write_gpio(dboard_interface::GPIO_RX_BANK, 0x0000, 0xffff); //all zeros - _interface->write_gpio(dboard_interface::GPIO_TX_BANK, 0x0000, 0xffff); + _interface->write_gpio(dboard_interface::GPIO_RX_BANK, 0x0000); //all zeros + _interface->write_gpio(dboard_interface::GPIO_TX_BANK, 0x0000); _interface->set_atr_reg(dboard_interface::GPIO_RX_BANK, 0x0000, 0x0000, 0x0000); //software controlled _interface->set_atr_reg(dboard_interface::GPIO_TX_BANK, 0x0000, 0x0000, 0x0000); |