From 515a994c59ec924ea6ecb94719f86a23b1c02659 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 12 Aug 2021 09:25:34 +1000 Subject: [PATCH] ArduPlane: move VehicleClass handling to AHRS frontend .... and renaming the enumeration while we're at it --- ArduPlane/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 95bc0dcd9f..ada1289f93 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -377,7 +377,7 @@ void Plane::startup_INS_ground(void) ahrs.init(); ahrs.set_fly_forward(true); - ahrs.set_vehicle_class(AHRS_VEHICLE_FIXED_WING); + ahrs.set_vehicle_class(AP_AHRS::VehicleClass::FIXED_WING); ahrs.set_wind_estimation(true); ins.init(scheduler.get_loop_rate_hz());