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