From 6868557efd626924112a6f5e4339640d00500fe9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 12 Aug 2021 09:25:35 +1000 Subject: [PATCH] Blimp: move VehicleClass handling to AHRS frontend .... and renaming the enumeration while we're at it --- Blimp/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blimp/system.cpp b/Blimp/system.cpp index f4dcd8fa89..9e9a77e80b 100644 --- a/Blimp/system.cpp +++ b/Blimp/system.cpp @@ -127,7 +127,7 @@ void Blimp::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());