summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-26 10:42:38 -0700
committerJosh Blum <josh@joshknows.com>2011-11-07 11:21:24 -0800
commit8a8dfe41f26ee276e0aded016a6e7bc8e7010a77 (patch)
treec4d67b662221089b61093d40fddf7a2721abc561
parenta445f30003c415843a779fd40e67eeb670ab5d29 (diff)
downloaduhd-8a8dfe41f26ee276e0aded016a6e7bc8e7010a77.tar.gz
uhd-8a8dfe41f26ee276e0aded016a6e7bc8e7010a77.tar.bz2
uhd-8a8dfe41f26ee276e0aded016a6e7bc8e7010a77.zip
basic: disable dboard clocks by default
-rw-r--r--host/lib/usrp/dboard/db_basic_and_lf.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/dboard/db_basic_and_lf.cpp b/host/lib/usrp/dboard/db_basic_and_lf.cpp
index 971ecaeda..53429a8c7 100644
--- a/host/lib/usrp/dboard/db_basic_and_lf.cpp
+++ b/host/lib/usrp/dboard/db_basic_and_lf.cpp
@@ -131,8 +131,8 @@ basic_rx::basic_rx(ctor_args_t args, double max_freq) : rx_dboard_base(args){
this->get_rx_subtree()->create<meta_range_t>("bandwidth/range")
.set(freq_range_t(subdev_bandwidth_scalar[get_subdev_name()]*_max_freq, subdev_bandwidth_scalar[get_subdev_name()]*_max_freq));
- //enable RX dboard clock
- this->get_iface()->set_clock_enabled(dboard_iface::UNIT_RX, true);
+ //disable RX dboard clock by default
+ this->get_iface()->set_clock_enabled(dboard_iface::UNIT_RX, false);
//set GPIOs to output 0x0000 to decrease noise pickup
this->get_iface()->set_pin_ctrl(dboard_iface::UNIT_RX, 0x0000);
@@ -180,8 +180,8 @@ basic_tx::basic_tx(ctor_args_t args, double max_freq) : tx_dboard_base(args){
this->get_tx_subtree()->create<meta_range_t>("bandwidth/range")
.set(freq_range_t(subdev_bandwidth_scalar[get_subdev_name()]*_max_freq, subdev_bandwidth_scalar[get_subdev_name()]*_max_freq));
- //enable TX dboard clock
- this->get_iface()->set_clock_enabled(dboard_iface::UNIT_TX, true);
+ //disable TX dboard clock by default
+ this->get_iface()->set_clock_enabled(dboard_iface::UNIT_TX, false);
//set GPIOs to output 0x0000 to decrease noise pickup
this->get_iface()->set_pin_ctrl(dboard_iface::UNIT_TX, 0x0000);