From f0b328360d6a89c2541463feaf90589e5848f5b9 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 26 Jun 2017 13:29:23 -0700 Subject: Revert "xcvr: Query ref clock, not ADC/DAC clock" This reverts commit 60920644aa33d1a6f7a4dac30bdb890b9bc4301f. --- host/lib/usrp/dboard/db_xcvr2450.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host') 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 -- cgit v1.2.3