1
0
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:
Erik Gustavsson 2012-11-25 20:21:05 +01:00 committed by Oleg Semyonov
parent dc5394dcf3
commit 5e14f5352f
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}