1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Corrected some error messages

This commit is contained in:
f4exb 2017-11-12 16:34:38 +01:00
parent 4cf475fd35
commit bc793b4095
3 changed files with 7 additions and 6 deletions

View File

@ -114,7 +114,7 @@ bool RTLSDRInput::openDevice()
return false; return false;
} }
qWarning("RTLSDRInput::openDevice: open: %s %s, SN: %s", vendor, product, serial); qInfo("RTLSDRInput::openDevice: open: %s %s, SN: %s", vendor, product, serial);
m_deviceDescription = QString("%1 (SN %2)").arg(product).arg(serial); m_deviceDescription = QString("%1 (SN %2)").arg(product).arg(serial);
if ((res = rtlsdr_set_sample_rate(m_dev, 1152000)) < 0) if ((res = rtlsdr_set_sample_rate(m_dev, 1152000)) < 0)
@ -324,11 +324,12 @@ bool RTLSDRInput::applySettings(const RTLSDRSettings& settings, bool force)
{ {
if (rtlsdr_set_freq_correction(m_dev, settings.m_loPpmCorrection) < 0) if (rtlsdr_set_freq_correction(m_dev, settings.m_loPpmCorrection) < 0)
{ {
qCritical("could not set LO ppm correction: %d", settings.m_loPpmCorrection); qCritical("RTLSDRInput::applySettings: could not set LO ppm correction: %d", settings.m_loPpmCorrection);
} }
else else
{ {
m_settings.m_loPpmCorrection = settings.m_loPpmCorrection; m_settings.m_loPpmCorrection = settings.m_loPpmCorrection;
qDebug("RTLSDRInput::applySettings: LO ppm correction set to: %d", settings.m_loPpmCorrection);
} }
} }
} }

View File

@ -13,14 +13,14 @@ FFTEngine::~FFTEngine()
FFTEngine* FFTEngine::create() FFTEngine* FFTEngine::create()
{ {
#ifdef USE_FFTW #ifdef USE_FFTW
qDebug("FFT: using FFTW engine"); qDebug("FFTEngine::create: using FFTW engine");
return new FFTWEngine; return new FFTWEngine;
#endif // USE_FFTW #endif // USE_FFTW
#ifdef USE_KISSFFT #ifdef USE_KISSFFT
qDebug("FFT: using KissFFT engine"); qDebug("FFTEngine::create: using KissFFT engine");
return new KissEngine; return new KissEngine;
#endif // USE_KISSFFT #endif // USE_KISSFFT
qCritical("FFT: no engine built"); qCritical("FFTEngine::create: no engine built");
return NULL; return NULL;
} }

View File

@ -127,7 +127,7 @@ void PluginManager::loadPlugins(const QDir& dir)
if (loader->isLoaded()) if (loader->isLoaded())
{ {
qWarning("PluginManager::loadPlugins: loaded plugin %s", qPrintable(fileName)); qInfo("PluginManager::loadPlugins: loaded plugin %s", qPrintable(fileName));
} }
else else
{ {