added a define to make compilation optional

git-svn-id: https://arducopter.googlecode.com/svn/trunk@3031 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
jasonshort 2011-08-05 17:09:27 +00:00
parent de191b7bee
commit 1ac8e0a75f

View File

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