1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

uncrustification

This commit is contained in:
Corvus Corax 2014-10-03 23:14:38 +02:00
parent c350c2a94c
commit b01eb1d3e4
4 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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

View File

@ -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;
} }

View File

@ -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);