From 50b9281003ccbc8c6291825abf840c10aa31c96e Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 27 Oct 2016 11:59:57 -0700 Subject: xcvr: Removed some compiler warnings --- 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 aa0bae8b8..0f839b03e 100644 --- a/host/lib/usrp/dboard/db_xcvr2450.cpp +++ b/host/lib/usrp/dboard/db_xcvr2450.cpp @@ -372,7 +372,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); - int R, intdiv, fracdiv; + int R, intdiv = 131, fracdiv = 0; //loop through values until we get a match for(_ad9515div = 2; _ad9515div <= 3; _ad9515div++){ -- cgit v1.2.3