diff options
author | Martin Braun <martin.braun@ettus.com> | 2016-10-27 11:59:57 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-10-27 15:30:03 -0700 |
commit | 50b9281003ccbc8c6291825abf840c10aa31c96e (patch) | |
tree | 6b87c652de7b4dc7fd9a99b18c01fa719618c585 /host | |
parent | 6cb2dad7dd6d664ae3d922a93a7b4438e73ec411 (diff) | |
download | uhd-50b9281003ccbc8c6291825abf840c10aa31c96e.tar.gz uhd-50b9281003ccbc8c6291825abf840c10aa31c96e.tar.bz2 uhd-50b9281003ccbc8c6291825abf840c10aa31c96e.zip |
xcvr: Removed some compiler warnings
Diffstat (limited to 'host')
-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 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++){ |