APM: optional build with new controller libs

This commit is contained in:
Andrew Tridgell 2012-08-22 12:12:15 +10:00
parent 10505093e1
commit 2bc2460c07
2 changed files with 10 additions and 0 deletions

View File

@ -52,6 +52,11 @@
#include <AP_Airspeed.h>
#include <memcheck.h>
// optional new controller library
#if APM_CONTROL == ENABLED
#include <APM_Control.h>
#endif
// Configuration
#include "config.h"

View File

@ -838,3 +838,8 @@
#ifndef OBC_FAILSAFE
# define OBC_FAILSAFE DISABLED
#endif
// new APM_Control controller library by Jon Challinger
#ifndef APM_CONTROL
# define APM_CONTROL DISABLED
#endif