From 1ac8e0a75f5d36c0675f171d67d7adbbd62fcba3 Mon Sep 17 00:00:00 2001 From: jasonshort Date: Fri, 5 Aug 2011 17:09:27 +0000 Subject: [PATCH] 2.0.39 added a define to make compilation optional git-svn-id: https://arducopter.googlecode.com/svn/trunk@3031 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- ArduCopterMega/flip.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopterMega/flip.pde b/ArduCopterMega/flip.pde index 8442c5a811..a38ce8202a 100644 --- a/ArduCopterMega/flip.pde +++ b/ArduCopterMega/flip.pde @@ -6,6 +6,7 @@ // Some states are fixed commands (for a fixed time) // Some states are fixed commands (until some IMU condition) // Some states include controls inside +#if CH7_OPTION == DO_FLIP void roll_flip() { #define AAP_THR_INC 180 @@ -76,3 +77,4 @@ void roll_flip() break; } } +#endif