1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

Uncrustify

This commit is contained in:
a*morale 2015-09-05 11:49:43 +02:00
parent 1f09d36638
commit 792835c009
6 changed files with 60 additions and 60 deletions

View File

@ -551,7 +551,6 @@ static void actuatorTask(__attribute__((unused)) void *parameters)
float ProcessMixer(const int index, const float curve1, const float curve2,
ActuatorDesiredData *desired, bool multirotor, bool fixedwing)
{
const Mixer_t *mixers = (Mixer_t *)&mixerSettings.Mixer1Type; // pointer to array of mixers in UAVObjects
const Mixer_t *mixer = &mixers[index];
float differential = 1.0f;

View File

@ -1016,6 +1016,7 @@ void VehicleConfigurationHelper::resetVehicleConfig()
// Reset throttle curves
QString throttlePattern = "ThrottleCurve%1";
for (int i = 1; i <= 2; i++) {
UAVObjectField *field = mSettings->getField(throttlePattern.arg(i));
Q_ASSERT(field);