ArduCopter: changes in arducopter to support moving AHRS var_info from AP_AHRS to AP_AHRS_DCM

This commit is contained in:
rmackay9 2012-07-28 14:18:31 +09:00
parent 0820ebddb9
commit 38d974b63f
1 changed files with 5 additions and 1 deletions

View File

@ -320,7 +320,11 @@ static const AP_Param::Info var_info[] PROGMEM = {
// @Group: AHRS_ // @Group: AHRS_
// @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp // @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp
GOBJECT(ahrs, "AHRS_", AP_AHRS), #if DMP_ENABLED == ENABLED && CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
GOBJECT(ahrs, "AHRS_", AP_AHRS_DCM),
#else
GOBJECT(ahrs, "AHRS_", AP_AHRS_MPU6000),
#endif
#if MOUNT == ENABLED #if MOUNT == ENABLED
// @Group: MNT_ // @Group: MNT_