diff options
author | Josh Blum <josh@joshknows.com> | 2011-05-01 09:38:30 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-05-01 09:38:30 -0700 |
commit | 4b18ab84921a88f0448632355e8165ecaff4ed6f (patch) | |
tree | eeddfe4f7806b4cf92d8d1195ec44d81f521dcb2 /host/lib/types | |
parent | 46b20f25556620433c89b16984dc1633221ae28b (diff) | |
download | uhd-4b18ab84921a88f0448632355e8165ecaff4ed6f.tar.gz uhd-4b18ab84921a88f0448632355e8165ecaff4ed6f.tar.bz2 uhd-4b18ab84921a88f0448632355e8165ecaff4ed6f.zip |
uhd: fixed typo in tune request/result inter_freq -> rf_freq
For some reason, the code said intermediate frequency,
however, it was used and treated as RF frequency.
It was always intended to be the RF frequency,
but was misnamed due to a cognitive distortion.
Diffstat (limited to 'host/lib/types')
-rw-r--r-- | host/lib/types/tune.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/host/lib/types/tune.cpp b/host/lib/types/tune.cpp index 601bc20e8..154f0990f 100644 --- a/host/lib/types/tune.cpp +++ b/host/lib/types/tune.cpp @@ -23,7 +23,7 @@ using namespace uhd; tune_request_t::tune_request_t(double target_freq): target_freq(target_freq), - inter_freq_policy(POLICY_AUTO), + rf_freq_policy(POLICY_AUTO), dsp_freq_policy(POLICY_AUTO) { /* NOP */ @@ -31,8 +31,8 @@ tune_request_t::tune_request_t(double target_freq): tune_request_t::tune_request_t(double target_freq, double lo_off): target_freq(target_freq), - inter_freq_policy(POLICY_MANUAL), - inter_freq(target_freq + lo_off), + rf_freq_policy(POLICY_MANUAL), + rf_freq(target_freq + lo_off), dsp_freq_policy(POLICY_AUTO) { /* NOP */ @@ -41,12 +41,12 @@ tune_request_t::tune_request_t(double target_freq, double lo_off): std::string tune_result_t::to_pp_string(void) const{ return str(boost::format( "Tune Result:\n" - " Target Intermediate Freq: %f (MHz)\n" - " Actual Intermediate Freq: %f (MHz)\n" - " Target DSP Freq Shift: %f (MHz)\n" - " Actual DSP Freq Shift: %f (MHz)\n" + " Target RF Freq: %f (MHz)\n" + " Actual RF Freq: %f (MHz)\n" + " Target DSP Freq: %f (MHz)\n" + " Actual DSP Freq: %f (MHz)\n" ) - % (target_inter_freq/1e6) % (actual_inter_freq/1e6) - % (target_dsp_freq/1e6) % (actual_dsp_freq/1e6) + % (target_rf_freq/1e6) % (actual_rf_freq/1e6) + % (target_dsp_freq/1e6) % (actual_dsp_freq/1e6) ); } |