diff options
author | Josh Blum <josh@joshknows.com> | 2010-04-12 16:52:18 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-04-12 16:52:18 -0700 |
commit | 389a72ef592d9826eac67ab001da5734909dbfcd (patch) | |
tree | f0652d894debe00d1e5b688dd6c8b2ab0c2c0427 /host/lib/usrp/dboard_manager.cpp | |
parent | 237279419d14a2a19545dd7311b244108edf9dc5 (diff) | |
download | uhd-389a72ef592d9826eac67ab001da5734909dbfcd.tar.gz uhd-389a72ef592d9826eac67ab001da5734909dbfcd.tar.bz2 uhd-389a72ef592d9826eac67ab001da5734909dbfcd.zip |
merged unit type and gpio bank for dboard interface into one type, expanded dboard clock config api
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 4cf2e5820..f8ff38c39 100644 --- a/host/lib/usrp/dboard_manager.cpp +++ b/host/lib/usrp/dboard_manager.cpp @@ -276,9 +276,9 @@ 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_BANK_RX, 0x0000); //all inputs - _interface->set_atr_reg(dboard_interface::GPIO_BANK_RX, dboard_interface::ATR_REG_IDLE, 0x0000); //all low + _interface->set_gpio_ddr(dboard_interface::UNIT_RX, 0x0000); //all inputs + _interface->set_atr_reg(dboard_interface::UNIT_RX, dboard_interface::ATR_REG_IDLE, 0x0000); //all low - _interface->set_gpio_ddr(dboard_interface::GPIO_BANK_TX, 0x0000); //all inputs - _interface->set_atr_reg(dboard_interface::GPIO_BANK_TX, dboard_interface::ATR_REG_IDLE, 0x0000); //all low + _interface->set_gpio_ddr(dboard_interface::UNIT_TX, 0x0000); //all inputs + _interface->set_atr_reg(dboard_interface::UNIT_TX, dboard_interface::ATR_REG_IDLE, 0x0000); //all low } |