diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index 38bab85f39..06d82cb280 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -1170,7 +1170,7 @@ static void read_AHRS(void) { // Perform IMU calculations and get attitude info //----------------------------------------------- - #if HIL_MODE == HIL_MODE_SENSORS + #if HIL_MODE != HIL_MODE_DISABLED // update hil before dcm update gcs_update(); #endif