Plane: fixed HIL builds

This commit is contained in:
Andrew Tridgell 2012-12-19 11:33:05 +11:00
parent a02f723f3a
commit 62d7fd1a26
2 changed files with 5 additions and 2 deletions

View File

@ -193,14 +193,14 @@ AP_AHRS_DCM ahrs(&ins, g_gps);
// sensor emulators
AP_Baro_BMP085_HIL barometer;
AP_Compass_HIL compass;
AP_GPS_HIL g_gps_driver(NULL);
AP_GPS_HIL g_gps_driver;
AP_InertialSensor_Stub ins;
AP_AHRS_DCM ahrs(&ins, g_gps);
#elif HIL_MODE == HIL_MODE_ATTITUDE
AP_Baro_BMP085_HIL barometer;
AP_Compass_HIL compass;
AP_GPS_HIL g_gps_driver(NULL);
AP_GPS_HIL g_gps_driver;
AP_InertialSensor_Stub ins;
AP_AHRS_HIL ahrs(&ins, g_gps);

View File

@ -1,2 +1,5 @@
include ../mk/Arduino.mk
include ../mk/targets.mk
sitl-newcontrollers: EXTRAFLAGS += "-DAPM_CONTROL=ENABLED "
sitl-newcontrollers: sitl