mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
AC fix sitl attitude hil build
This commit is contained in:
parent
af0d2de2ed
commit
f4705577c8
@ -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
Block a user