AHRS: fixed reference to AHRS var_info for APM and ACM

This commit is contained in:
Andrew Tridgell 2012-08-21 15:58:32 +10:00
parent cc0e8be85a
commit 1ec772f69c
2 changed files with 4 additions and 12 deletions

View File

@ -313,12 +313,8 @@ const AP_Param::Info var_info[] PROGMEM = {
GOBJECT(imu, "IMU_", IMU), GOBJECT(imu, "IMU_", IMU),
// @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.cpp
#if DMP_ENABLED == ENABLED && CONFIG_APM_HARDWARE == APM_HARDWARE_APM2 GOBJECT(ahrs, "AHRS_", AP_AHRS),
GOBJECT(ahrs, "AHRS_", AP_AHRS_MPU6000),
#else
GOBJECT(ahrs, "AHRS_", AP_AHRS_DCM),
#endif
#if MOUNT == ENABLED #if MOUNT == ENABLED
// @Group: MNT_ // @Group: MNT_

View File

@ -559,12 +559,8 @@ const AP_Param::Info var_info[] PROGMEM = {
GOBJECT(imu, "IMU_", IMU), GOBJECT(imu, "IMU_", IMU),
// @Group: AHRS_ // @Group: AHRS_
// @Path: ../libraries/AP_AHRS/AP_AHRS_DCM.cpp, ../libraries/AP_AHRS/AP_AHRS_Quaternion.cpp, ../libraries/AP_AHRS/AP_AHRS_MPU6000.cpp // @Path: ../libraries/AP_AHRS/AP_AHRS.cpp
#if DMP_ENABLED == ENABLED && CONFIG_APM_HARDWARE == APM_HARDWARE_APM2 GOBJECT(ahrs, "AHRS_", AP_AHRS),
GOBJECT(ahrs, "AHRS_", AP_AHRS_MPU6000),
#else
GOBJECT(ahrs, "AHRS_", AP_AHRS_DCM),
#endif
// @Group: ARSPD_ // @Group: ARSPD_
// @Path: ../libraries/AP_Airspeed/AP_Airspeed.cpp // @Path: ../libraries/AP_Airspeed/AP_Airspeed.cpp