From 6f5e3bf4ff782a1cd7ad0d6596d8b80a49e7b2d9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 12 Aug 2021 09:25:34 +1000 Subject: [PATCH] ArduCopter: move VehicleClass handling to AHRS frontend .... and renaming the enumeration while we're at it --- ArduCopter/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/system.cpp b/ArduCopter/system.cpp index 40146b695e..93cb40eb00 100644 --- a/ArduCopter/system.cpp +++ b/ArduCopter/system.cpp @@ -213,7 +213,7 @@ void Copter::startup_INS_ground() { // initialise ahrs (may push imu calibration into the mpu6000 if using that device). ahrs.init(); - ahrs.set_vehicle_class(AHRS_VEHICLE_COPTER); + ahrs.set_vehicle_class(AP_AHRS::VehicleClass::COPTER); // Warm up and calibrate gyro offsets ins.init(scheduler.get_loop_rate_hz());