aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-01 09:38:30 -0700
committerJosh Blum <josh@joshknows.com>2011-05-01 09:38:30 -0700
commit4b18ab84921a88f0448632355e8165ecaff4ed6f (patch)
treeeeddfe4f7806b4cf92d8d1195ec44d81f521dcb2 /host/include
parent46b20f25556620433c89b16984dc1633221ae28b (diff)
downloaduhd-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/include')
-rw-r--r--host/include/uhd/types/tune_request.hpp12
-rw-r--r--host/include/uhd/types/tune_result.hpp10
2 files changed, 9 insertions, 13 deletions
diff --git a/host/include/uhd/types/tune_request.hpp b/host/include/uhd/types/tune_request.hpp
index b59f37c2e..9c498bfe9 100644
--- a/host/include/uhd/types/tune_request.hpp
+++ b/host/include/uhd/types/tune_request.hpp
@@ -32,7 +32,7 @@ namespace uhd{
struct UHD_API tune_request_t{
/*!
* Make a new tune request for a particular center frequency.
- * Use an automatic policy for the intermediate and DSP frequency
+ * Use an automatic policy for the RF and DSP frequency
* to tune the chain as close as possible to the target frequency.
* \param target_freq the target frequency in Hz
*/
@@ -40,7 +40,7 @@ namespace uhd{
/*!
* Make a new tune request for a particular center frequency.
- * Use a manual policy for the intermediate frequency,
+ * Use a manual policy for the RF frequency,
* and an automatic policy for the DSP frequency,
* to tune the chain as close as possible to the target frequency.
* \param target_freq the target frequency in Hz
@@ -65,16 +65,16 @@ namespace uhd{
double target_freq;
/*!
- * The policy for the intermediate frequency.
+ * The policy for the RF frequency.
* Automatic behavior: the target frequency + default LO offset.
*/
- policy_t inter_freq_policy;
+ policy_t rf_freq_policy;
/*!
- * The intermediate frequency in Hz.
+ * The RF frequency in Hz.
* Set when the policy is set to manual.
*/
- double inter_freq;
+ double rf_freq;
/*!
* The policy for the DSP frequency.
diff --git a/host/include/uhd/types/tune_result.hpp b/host/include/uhd/types/tune_result.hpp
index 9eebc161a..e51473085 100644
--- a/host/include/uhd/types/tune_result.hpp
+++ b/host/include/uhd/types/tune_result.hpp
@@ -24,15 +24,11 @@
namespace uhd{
/*!
- * The tune result struct holds result of a 2-phase tuning:
- * The struct hold the result of tuning the dboard as
- * the target and actual intermediate frequency.
- * The struct hold the result of tuning the DSP as
- * the target and actual digital converter frequency.
+ * The tune result struct holds result of a 2-phase tuning.
*/
struct UHD_API tune_result_t{
- double target_inter_freq;
- double actual_inter_freq;
+ double target_rf_freq;
+ double actual_rf_freq;
double target_dsp_freq;
double actual_dsp_freq;