mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: fix spacing
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
This commit is contained in:
parent
3a311a9d69
commit
c77f688032
|
@ -218,7 +218,7 @@ void AP_MotorsHeli_Swash::calculate(float roll, float pitch, float collective)
|
|||
_collective_input_scaled = collective;
|
||||
|
||||
// Collective control direction. Swash moves up for negative collective pitch, down for positive collective pitch
|
||||
if (_collective_direction == COLLECTIVE_DIRECTION_REVERSED){
|
||||
if (_collective_direction == COLLECTIVE_DIRECTION_REVERSED) {
|
||||
collective = 1 - collective;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue