AC fix sitl attitude hil build

This commit is contained in:
Michael Oborne 2012-07-24 21:17:57 +08:00
parent a36a9e86b9
commit 78b94f39ae
1 changed files with 4 additions and 0 deletions

View File

@ -291,6 +291,10 @@ AP_TimerProcess timer_scheduler;
#ifdef OPTFLOW_ENABLED #ifdef OPTFLOW_ENABLED
AP_OpticalFlow_ADNS3080 optflow(OPTFLOW_CS_PIN); AP_OpticalFlow_ADNS3080 optflow(OPTFLOW_CS_PIN);
#endif #endif
#ifdef DESKTOP_BUILD
#include <SITL.h>
SITL sitl;
#endif
static int32_t gps_base_alt; static int32_t gps_base_alt;
#else #else
#error Unrecognised HIL_MODE setting. #error Unrecognised HIL_MODE setting.