mirror of https://github.com/ArduPilot/ardupilot
AC fix sitl attitude hil build
This commit is contained in:
parent
a36a9e86b9
commit
78b94f39ae
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue