Copter: the INS object is needed for HIL_MODE_SENSORS

otherwise we can't level, so can't arm
This commit is contained in:
Andrew Tridgell 2013-06-04 18:08:55 +10:00
parent 3ad35363be
commit 8703d39475
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ const AP_Param::Info var_info[] PROGMEM = {
// @Group: INS_
// @Path: ../libraries/AP_InertialSensor/AP_InertialSensor.cpp
#if HIL_MODE == HIL_MODE_DISABLED
#if HIL_MODE != HIL_MODE_ATTITUDE
GOBJECT(ins, "INS_", AP_InertialSensor),
#endif