diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-06-26 13:29:23 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-06-26 13:29:37 -0700 |
commit | f0b328360d6a89c2541463feaf90589e5848f5b9 (patch) | |
tree | 3fb99e7f3cd76d99aa53c35f173cf4311e8ce7e0 /host/lib | |
parent | e1b686318fab1cb2b11542c28d82d810d1fc63a2 (diff) | |
download | uhd-f0b328360d6a89c2541463feaf90589e5848f5b9.tar.gz uhd-f0b328360d6a89c2541463feaf90589e5848f5b9.tar.bz2 uhd-f0b328360d6a89c2541463feaf90589e5848f5b9.zip |
Revert "xcvr: Query ref clock, not ADC/DAC clock"
This reverts commit 60920644aa33d1a6f7a4dac30bdb890b9bc4301f.
Diffstat (limited to 'host/lib')
-rw-r--r-- | host/lib/usrp/dboard/db_xcvr2450.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard/db_xcvr2450.cpp b/host/lib/usrp/dboard/db_xcvr2450.cpp index 6876ee4be..ee69dbdad 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -371,7 +371,7 @@ double xcvr2450::set_lo_freq_core(double target_freq){ //variables used in the calculation below double scaler = xcvr2450::is_highband(target_freq)? (4.0/5.0) : (4.0/3.0); - double ref_freq = this->get_iface()->get_clock_rate(dboard_iface::UNIT_TX); + double ref_freq = this->get_iface()->get_codec_rate(dboard_iface::UNIT_TX); int R, intdiv = 131, fracdiv = 0; //loop through values until we get a match |