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 dbe7c8ed1a
commit f97257830b
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_
// @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
// @Group: MNT_