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:
Alessio Morale 2015-05-02 20:27:28 +02:00
parent 2fca0b1d9b
commit c227686854

View File

@ -402,9 +402,9 @@ static void actuatorTask(__attribute__((unused)) void *parameters)
nonreversible_curve1 = 0.0f;
}
if (nonreversible_curve2 < 0.0f) {
if (!multirotor) { //allow negative throttle if multirotor. function scaleMotors handles the sanity checks.
nonreversible_curve2 = 0.0f;
}
if (!multirotor) { // allow negative throttle if multirotor. function scaleMotors handles the sanity checks.
nonreversible_curve2 = 0.0f;
}
}
status[ct] = ProcessMixer(ct, nonreversible_curve1, nonreversible_curve2, &desired, dTSeconds, multirotor);
// If not armed or motors aren't meant to spin all the time