1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 19:28:47 -05:00

LimeSDR: use qDebug() in a different way

This commit is contained in:
f4exb 2018-01-02 10:02:44 +01:00
parent f30edc983d
commit 73d070a055
2 changed files with 2 additions and 6 deletions

View File

@ -1079,10 +1079,8 @@ bool LimeSDROutput::applySettings(const LimeSDROutputSettings& settings, bool fo
}
QLocale loc;
QDebug debug = qDebug();
debug.noquote();
debug << "LimeSDROutput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz"
qDebug().noquote() << "LimeSDROutput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz"
<< " device stream sample rate: " << loc.toString(m_settings.m_devSampleRate) << "S/s"
<< " sample rate with soft interpolation: " << loc.toString( m_settings.m_devSampleRate/(1<<m_settings.m_log2SoftInterp)) << "S/s"
<< " DAC sample rate with hard interpolation: " << loc.toString(m_settings.m_devSampleRate*(1<<m_settings.m_log2HardInterp)) << "S/s"

View File

@ -1232,10 +1232,8 @@ bool LimeSDRInput::applySettings(const LimeSDRInputSettings& settings, bool forc
}
QLocale loc;
QDebug debug = qDebug();
debug.noquote();
debug << "LimeSDRInput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz"
qDebug().noquote() << "LimeSDRInput::applySettings: center freq: " << m_settings.m_centerFrequency << " Hz"
<< " device stream sample rate: " << loc.toString(m_settings.m_devSampleRate) << "S/s"
<< " sample rate with soft decimation: " << loc.toString( m_settings.m_devSampleRate/(1<<m_settings.m_log2SoftDecim)) << "S/s"
<< " ADC sample rate with hard decimation: " << loc.toString(m_settings.m_devSampleRate*(1<<m_settings.m_log2HardDecim)) << "S/s"