From f3770432f9e99fb3230a1e4c3cff8180bd969a87 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 13 Jul 2015 13:44:34 +0900 Subject: [PATCH] Copter: fix do_user_takeoff indentation No functional change --- ArduCopter/takeoff.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ArduCopter/takeoff.cpp b/ArduCopter/takeoff.cpp index 968df72e15..f1a664a390 100644 --- a/ArduCopter/takeoff.cpp +++ b/ArduCopter/takeoff.cpp @@ -30,10 +30,10 @@ bool Copter::do_user_takeoff(float takeoff_alt_cm, bool must_navigate) if (motors.armed() && ap.land_complete && current_mode_has_user_takeoff(must_navigate) && takeoff_alt_cm > current_loc.alt) { #if FRAME_CONFIG == HELI_FRAME - // Helicopters should return false if MAVlink takeoff command is received while the rotor is not spinning - if (!motors.rotor_runup_complete()){ - return false; - } + // Helicopters should return false if MAVlink takeoff command is received while the rotor is not spinning + if (!motors.rotor_runup_complete()) { + return false; + } #endif switch(control_mode) {