Plane: use reference to AHRS

This commit is contained in:
Andrew Tridgell 2013-08-13 13:49:34 +10:00
parent 31fce44063
commit 8378dc9779
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ AP_InertialSensor_Oilpan ins( &apm1_adc );
AP_AHRS_DCM ahrs(&ins, g_gps); AP_AHRS_DCM ahrs(&ins, g_gps);
static AP_L1_Control L1_controller(&ahrs); static AP_L1_Control L1_controller(ahrs);
static AP_TECS TECS_controller(&ahrs, aparm); static AP_TECS TECS_controller(&ahrs, aparm);
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL #if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL