mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Uncrustify
This commit is contained in:
parent
1f09d36638
commit
792835c009
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user