altos: oops. Fix syntax
authorKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:37:17 +0000 (22:37 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 11 Oct 2020 05:37:17 +0000 (22:37 -0700)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_flight.c

index e895904c720bc91645ac6c8a31474ba9af8b0f0a..f873a3c5f6a578bad796247624bf485c69590529 100644 (file)
@@ -226,8 +226,9 @@ ao_flight(void)
 #if HAS_ACCEL
                            || (ao_accel > AO_MSS_TO_ACCEL(20)
 #if HAS_BARO
-                               && ao_speed > AO_MS_TO_SPEED(5))
+                               && ao_speed > AO_MS_TO_SPEED(5)
 #endif
+)
 #endif
                                )
                        {