diff --git a/ArduCopter/Parameters.pde b/ArduCopter/Parameters.pde index 7f09d7e4ec..9b1ee0f897 100644 --- a/ArduCopter/Parameters.pde +++ b/ArduCopter/Parameters.pde @@ -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