Copter: set AHRS vehicle class

This commit is contained in:
Andrew Tridgell 2014-04-21 18:11:53 +10:00
parent c413cdc480
commit e07b70de4e
1 changed files with 1 additions and 0 deletions

View File

@ -309,6 +309,7 @@ static void startup_ground(bool force_gyro_cal)
// initialise ahrs (may push imu calibration into the mpu6000 if using that device). // initialise ahrs (may push imu calibration into the mpu6000 if using that device).
ahrs.init(); ahrs.init();
ahrs.set_vehicle_class(AHRS_VEHICLE_COPTER);
// Warm up and read Gyro offsets // Warm up and read Gyro offsets
// ----------------------------- // -----------------------------