From c77f688032bb65e23b50f7dc7604c80b03035140 Mon Sep 17 00:00:00 2001 From: Bill Geyer Date: Sat, 8 Jun 2024 23:17:06 -0400 Subject: [PATCH] AP_Motors: fix spacing Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com> --- libraries/AP_Motors/AP_MotorsHeli_Swash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp b/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp index d04312752a..b5293de186 100644 --- a/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp +++ b/libraries/AP_Motors/AP_MotorsHeli_Swash.cpp @@ -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; }