aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/UHD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/UHD.cpp')
-rw-r--r--src/output/UHD.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/UHD.cpp b/src/output/UHD.cpp
index 094e021..e097692 100644
--- a/src/output/UHD.cpp
+++ b/src/output/UHD.cpp
@@ -204,7 +204,6 @@ UHD::UHD(SDRDeviceConfig& config) :
tune(m_conf.lo_offset, m_conf.frequency);
- m_conf.frequency = m_usrp->get_tx_freq();
etiLog.level(debug) << std::fixed << std::setprecision(3) <<
"OutputUHD:Actual TX frequency: " << m_conf.frequency;
@@ -285,6 +284,8 @@ void UHD::tune(double lo_offset, double frequency)
m_usrp->set_rx_freq(frequency);
}
+
+ m_conf.frequency = m_usrp->get_tx_freq();
}
double UHD::get_tx_freq(void) const