mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Fix gcc warnings
This commit is contained in:
parent
1de5a38d6b
commit
60b500f56c
@ -3560,6 +3560,8 @@ void RadioAstronomyGUI::plotPowerVsTimeChart()
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
m_powerChart->addAxis(m_powerXAxis, Qt::AlignBottom);
|
||||
@ -3950,6 +3952,8 @@ RadioAstronomyGUI::FFTMeasurement* RadioAstronomyGUI::currentFFT()
|
||||
|
||||
void RadioAstronomyGUI::on_spectrumYUnits_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
|
||||
QString text = ui->spectrumYUnits->currentText();
|
||||
if (text == "dBFS")
|
||||
{
|
||||
|
@ -549,7 +549,7 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name)
|
||||
const MainSettings& mainSettings = mainCore->getSettings();
|
||||
const std::vector<DeviceSet*>& deviceSets = mainCore->getDeviceSets();
|
||||
|
||||
if (devSettings->m_deviceSetIndex < deviceSets.size())
|
||||
if (devSettings->m_deviceSetIndex < (int)deviceSets.size())
|
||||
{
|
||||
const DeviceSet *deviceSet = deviceSets[devSettings->m_deviceSetIndex];
|
||||
QString presetType;
|
||||
|
@ -622,7 +622,6 @@ void StarTrackerWorker::update()
|
||||
swgTarget->setEarthOrbitVelocityBcrs(vOrbit);
|
||||
double vLSRK = Astronomy::sunVelocityLSRK(rd);
|
||||
swgTarget->setSunVelocityLsr(vLSRK);
|
||||
double vCorr = vRot + vOrbit + vLSRK;
|
||||
(*it)->push(MainCore::MsgStarTrackerTarget::create(m_starTracker, swgTarget));
|
||||
}
|
||||
}
|
||||
|
@ -569,13 +569,13 @@ bool ChannelWebAPIUtils::patchFeatureSetting(unsigned int featureSetIndex, unsig
|
||||
|
||||
if (httpRC/100 == 2)
|
||||
{
|
||||
qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), value);
|
||||
qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), qPrintable(value));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
qWarning("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s error %d: %s",
|
||||
setting, value, httpRC, qPrintable(*errorResponse2.getMessage()));
|
||||
qPrintable(setting), qPrintable(value), httpRC, qPrintable(*errorResponse2.getMessage()));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ RadioClockSettings:
|
||||
type: number
|
||||
format: float
|
||||
modulation:
|
||||
description: 0 - MSF, 1 - DCF77, 2 - TDF
|
||||
description: 0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB
|
||||
type: integer
|
||||
timezone:
|
||||
description: 0 - Broadcast, 1 - Local, 2 - UTC
|
||||
|
Loading…
Reference in New Issue
Block a user