forked from Archive/PX4-Autopilot
fix a fatal one-character typo in the multirotor output scaling logic
This commit is contained in:
parent
5198a9daf7
commit
e84d0f41fa
|
@ -179,7 +179,7 @@ MultirotorMixer::mix(float *outputs, unsigned space)
|
|||
fixup_scale = 2.0f;
|
||||
}
|
||||
for (unsigned i = 0; i < _rotor_count; i++)
|
||||
outputs[i] *= -1.0 + (outputs[i] * fixup_scale);
|
||||
outputs[i] = -1.0 + (outputs[i] * fixup_scale);
|
||||
|
||||
/* ensure outputs are out of the deadband */
|
||||
for (unsigned i = 0; i < _rotor_count; i++)
|
||||
|
|
Loading…
Reference in New Issue