diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index a9910313af..fec0a3e32f 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -330,7 +330,7 @@ static AP_Baro_HIL barometer; static AP_Compass_HIL compass; static AP_GPS_HIL g_gps_driver; static AP_InertialSensor_HIL ins; -static AP_AHRS_DCM ahrs(ins, g_gps); +static AP_AHRS_DCM ahrs(ins, barometer, g_gps); #if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL