mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
uncrustification
This commit is contained in:
parent
c350c2a94c
commit
b01eb1d3e4
@ -178,7 +178,7 @@ void ConfigOutputWidget::runChannelTests(bool state)
|
|||||||
UAVObject::SetGcsTelemetryUpdateMode(mdata, UAVObject::UPDATEMODE_ONCHANGE);
|
UAVObject::SetGcsTelemetryUpdateMode(mdata, UAVObject::UPDATEMODE_ONCHANGE);
|
||||||
mdata.gcsTelemetryUpdatePeriod = 100;
|
mdata.gcsTelemetryUpdatePeriod = 100;
|
||||||
} else {
|
} else {
|
||||||
mdata = accInitialData; // Restore metadata
|
mdata = accInitialData; // Restore metadata
|
||||||
}
|
}
|
||||||
obj->setMetadata(mdata);
|
obj->setMetadata(mdata);
|
||||||
obj->updated();
|
obj->updated();
|
||||||
|
@ -58,7 +58,6 @@ private:
|
|||||||
bool m_isCalibrating;
|
bool m_isCalibrating;
|
||||||
|
|
||||||
QList<OutputCalibrationUtil *> m_outputs;
|
QList<OutputCalibrationUtil *> m_outputs;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // ESCCALIBRATIONPAGE_H
|
#endif // ESCCALIBRATIONPAGE_H
|
||||||
|
@ -47,6 +47,7 @@ bool SummaryPage::validatePage()
|
|||||||
{
|
{
|
||||||
// Save settings so far.
|
// Save settings so far.
|
||||||
VehicleConfigurationHelper helper(getWizard());
|
VehicleConfigurationHelper helper(getWizard());
|
||||||
|
|
||||||
helper.setupVehicle(false);
|
helper.setupVehicle(false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -217,7 +217,7 @@ void VehicleConfigurationHelper::applyHardwareConfiguration()
|
|||||||
break;
|
break;
|
||||||
case VehicleConfigurationSource::GPS_PLATINUM:
|
case VehicleConfigurationSource::GPS_PLATINUM:
|
||||||
{
|
{
|
||||||
gpsData.DataProtocol = GPSSettings::DATAPROTOCOL_UBX;
|
gpsData.DataProtocol = GPSSettings::DATAPROTOCOL_UBX;
|
||||||
gpsData.UbxAutoConfig = GPSSettings::UBXAUTOCONFIG_CONFIGURE;
|
gpsData.UbxAutoConfig = GPSSettings::UBXAUTOCONFIG_CONFIGURE;
|
||||||
AuxMagSettings *magSettings = AuxMagSettings::GetInstance(m_uavoManager);
|
AuxMagSettings *magSettings = AuxMagSettings::GetInstance(m_uavoManager);
|
||||||
Q_ASSERT(magSettings);
|
Q_ASSERT(magSettings);
|
||||||
|
Loading…
Reference in New Issue
Block a user