From 9fd35cfe5c8d90e55191200933ab6588378cc87d Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 8 Jan 2017 17:39:02 +0100 Subject: [PATCH] HackRF output plugin: code cleanup --- plugins/samplesink/hackrfoutput/hackrfoutput.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/samplesink/hackrfoutput/hackrfoutput.cpp b/plugins/samplesink/hackrfoutput/hackrfoutput.cpp index fc1600642..9d4d2c6a2 100644 --- a/plugins/samplesink/hackrfoutput/hackrfoutput.cpp +++ b/plugins/samplesink/hackrfoutput/hackrfoutput.cpp @@ -287,8 +287,6 @@ bool HackRFOutput::applySettings(const HackRFOutputSettings& settings, bool forc } } - quint32 devSampleRate = m_settings.m_devSampleRate; - if (force || (m_settings.m_centerFrequency != settings.m_centerFrequency) || (m_settings.m_LOppmTenths != settings.m_LOppmTenths)) { @@ -299,9 +297,7 @@ bool HackRFOutput::applySettings(const HackRFOutputSettings& settings, bool forc { setCenterFrequency(m_settings.m_centerFrequency); - qDebug() << "HackRFOutput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz" - << " device sample rate: " << devSampleRate << "Hz" - << " Actual sample rate: " << devSampleRate/(1<getDeviceInputMessageQueue()->push(notif); }