summaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp2
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-05-23 13:24:29 -0700
committerNick Foster <nick@ettus.com>2011-05-23 13:24:29 -0700
commit92c664bd52adb57f09b5ceae08361a08ce405935 (patch)
treecb9cf01c799ae26db4b3d7e1cac239110d6ff3e0 /host/lib/usrp/usrp2
parent21856ee1ba8fb755bf94a0c70c76287f4998b6bf (diff)
parentf9fae3373e67c1bc19ab594d4b5604d69ecb0d68 (diff)
downloaduhd-92c664bd52adb57f09b5ceae08361a08ce405935.tar.gz
uhd-92c664bd52adb57f09b5ceae08361a08ce405935.tar.bz2
uhd-92c664bd52adb57f09b5ceae08361a08ce405935.zip
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv
Diffstat (limited to 'host/lib/usrp/usrp2')
-rw-r--r--host/lib/usrp/usrp2/mboard_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp2/mboard_impl.cpp b/host/lib/usrp/usrp2/mboard_impl.cpp
index 16fbce4bd..bf1fd5cce 100644
--- a/host/lib/usrp/usrp2/mboard_impl.cpp
+++ b/host/lib/usrp/usrp2/mboard_impl.cpp
@@ -116,7 +116,7 @@ usrp2_mboard_impl::usrp2_mboard_impl(
dsp_init();
//setting the cycles per update (disabled by default)
- const double ups_per_sec = device_addr.cast<double>("ups_per_sec", 0.0);
+ const double ups_per_sec = device_addr.cast<double>("ups_per_sec", 20);
if (ups_per_sec > 0.0){
const size_t cycles_per_up = size_t(_clock_ctrl->get_master_clock_rate()/ups_per_sec);
_iface->poke32(U2_REG_TX_CTRL_CYCLES_PER_UP, U2_FLAG_TX_CTRL_UP_ENB | cycles_per_up);