From 78b94f39ae5316ec6076229188aed32b3525b6d1 Mon Sep 17 00:00:00 2001 From: Michael Oborne Date: Tue, 24 Jul 2012 21:17:57 +0800 Subject: [PATCH] AC fix sitl attitude hil build --- ArduCopter/ArduCopter.pde | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index fcf2580ff9..e72c99cae5 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -291,6 +291,10 @@ AP_TimerProcess timer_scheduler; #ifdef OPTFLOW_ENABLED AP_OpticalFlow_ADNS3080 optflow(OPTFLOW_CS_PIN); #endif +#ifdef DESKTOP_BUILD +#include + SITL sitl; +#endif static int32_t gps_base_alt; #else #error Unrecognised HIL_MODE setting.