mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Minor codestyle/whitespace cleanup
This commit is contained in:
parent
dc5394dcf3
commit
5e14f5352f
@ -359,14 +359,14 @@ static void stabilizationTask(void* parameters)
|
||||
actuatorDesired.Throttle = stabDesired.Throttle;
|
||||
|
||||
// Suppress desired output while disarmed or throttle low, for configured axis
|
||||
if(flightStatus.Armed != FLIGHTSTATUS_ARMED_ARMED || stabDesired.Throttle < 0) {
|
||||
if(lowThrottleZeroAxis[0])
|
||||
if (flightStatus.Armed != FLIGHTSTATUS_ARMED_ARMED || stabDesired.Throttle < 0) {
|
||||
if (lowThrottleZeroAxis[0])
|
||||
actuatorDesired.Roll = 0;
|
||||
|
||||
if(lowThrottleZeroAxis[1])
|
||||
if (lowThrottleZeroAxis[1])
|
||||
actuatorDesired.Pitch = 0;
|
||||
|
||||
if(lowThrottleZeroAxis[2])
|
||||
if (lowThrottleZeroAxis[2])
|
||||
actuatorDesired.Yaw = 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user