summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-03-30 19:16:19 -0700
committerJosh Blum <josh@joshknows.com>2010-03-30 19:16:19 -0700
commitf7867f4a510eb2b83b1a11bc3f08e3d74e6877ba (patch)
tree29bb6e771942a081fe91c6c7510072ce3a566f71 /host/lib/usrp/dboard
parent281307833c8275031bd2469e6aef3f472490749a (diff)
downloaduhd-f7867f4a510eb2b83b1a11bc3f08e3d74e6877ba.tar.gz
uhd-f7867f4a510eb2b83b1a11bc3f08e3d74e6877ba.tar.bz2
uhd-f7867f4a510eb2b83b1a11bc3f08e3d74e6877ba.zip
removed masks for ddr and gpio write in dboard interface
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/db_basic_and_lf.cpp (renamed from host/lib/usrp/dboard/basic.cpp)4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/basic.cpp b/host/lib/usrp/dboard/db_basic_and_lf.cpp
index 2f29c8e0c..50c868a24 100644
--- a/host/lib/usrp/dboard/basic.cpp
+++ b/host/lib/usrp/dboard/db_basic_and_lf.cpp
@@ -88,7 +88,7 @@ UHD_STATIC_BLOCK(reg_dboards){
basic_rx::basic_rx(ctor_args_t const& args, double max_freq) : rx_dboard_base(args){
_max_freq = max_freq;
// set the gpios to safe values (all inputs)
- get_interface()->set_gpio_ddr(dboard_interface::GPIO_RX_BANK, 0x0000, 0xffff);
+ get_interface()->set_gpio_ddr(dboard_interface::GPIO_RX_BANK, 0x0000);
}
basic_rx::~basic_rx(void){
@@ -199,7 +199,7 @@ void basic_rx::rx_set(const wax::obj &key_, const wax::obj &val){
basic_tx::basic_tx(ctor_args_t const& args, double max_freq) : tx_dboard_base(args){
_max_freq = max_freq;
// set the gpios to safe values (all inputs)
- get_interface()->set_gpio_ddr(dboard_interface::GPIO_TX_BANK, 0x0000, 0xffff);
+ get_interface()->set_gpio_ddr(dboard_interface::GPIO_TX_BANK, 0x0000);
}
basic_tx::~basic_tx(void){