aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-10-25 17:04:51 -0700
committerJosh Blum <josh@joshknows.com>2010-10-25 17:04:51 -0700
commit2d21958e1b7ecc9ff083f2e60b0b5d06ccb3c638 (patch)
tree6fb67d3241e25eabe00b06bb26430aede2a8a4c6 /host/lib/types.cpp
parentc398e8f437cd21ca9132f7227546060f8dcf9e5c (diff)
downloaduhd-2d21958e1b7ecc9ff083f2e60b0b5d06ccb3c638.tar.gz
uhd-2d21958e1b7ecc9ff083f2e60b0b5d06ccb3c638.tar.bz2
uhd-2d21958e1b7ecc9ff083f2e60b0b5d06ccb3c638.zip
uhd: tune helper + request, forgot to use and set target freq
Diffstat (limited to 'host/lib/types.cpp')
-rw-r--r--host/lib/types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/types.cpp b/host/lib/types.cpp
index a8062b6ae..4188568aa 100644
--- a/host/lib/types.cpp
+++ b/host/lib/types.cpp
@@ -70,8 +70,9 @@ 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 + lo_off),
+ target_freq(target_freq),
inter_freq_policy(POLICY_MANUAL),
+ inter_freq(target_freq + lo_off),
dsp_freq_policy(POLICY_AUTO)
{
/* NOP */