aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-04-09 11:47:16 -0700
committerNicholas Corgan <nick.corgan@ettus.com>2014-04-09 11:47:16 -0700
commit459acf72262eb3d021cbc76b2d45e55a45768ae6 (patch)
tree3da1449aabf24bc86f32f5c2ea918bfe0b208c2a /host/lib/usrp/dboard
parent0df60b7c92a84dcaf73cc22bcc488a8f3047f549 (diff)
downloaduhd-459acf72262eb3d021cbc76b2d45e55a45768ae6.tar.gz
uhd-459acf72262eb3d021cbc76b2d45e55a45768ae6.tar.bz2
uhd-459acf72262eb3d021cbc76b2d45e55a45768ae6.zip
tvrx2: fix ref_clock logic when using N2x0
Diffstat (limited to 'host/lib/usrp/dboard')
-rw-r--r--host/lib/usrp/dboard/db_tvrx2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/lib/usrp/dboard/db_tvrx2.cpp b/host/lib/usrp/dboard/db_tvrx2.cpp
index c593c5437..c74c64471 100644
--- a/host/lib/usrp/dboard/db_tvrx2.cpp
+++ b/host/lib/usrp/dboard/db_tvrx2.cpp
@@ -1,5 +1,5 @@
//
-// Copyright 2010,2012-2013 Ettus Research LLC
+// Copyright 2010,2012-2014 Ettus Research LLC
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -1005,8 +1005,8 @@ tvrx2::tvrx2(ctor_args_t args) : rx_dboard_base(args){
_freq_scalar = (4*16.0e6)/(this->get_iface()->get_clock_rate(dboard_iface::UNIT_RX));
} else if (ref_clock == 100e6) {
-
- this->get_iface()->set_gpio_out(dboard_iface::UNIT_RX, REFCLOCK_DIV8);
+
+ this->get_iface()->set_gpio_out(dboard_iface::UNIT_RX, REFCLOCK_DIV6);
UHD_LOGV(often) << boost::format(
"TVRX2 (%s): Dividing Refclock by 6"