From 9e1b0de6b76dd2e84b20cfdb50296fd0838e9be8 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Fri, 2 Nov 2018 19:57:51 -0700 Subject: [PATCH] Plane: Make capability init consistent --- ArduPlane/system.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 3c449d234a..f9ccc04533 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -27,6 +27,7 @@ void Plane::init_ardupilot() AP::fwversion().fw_string, (unsigned)hal.util->available_memory()); + init_capabilities(); // // Check the EEPROM format version before loading any parameters from EEPROM @@ -180,8 +181,6 @@ void Plane::init_ardupilot() */ hal.scheduler->register_timer_failsafe(failsafe_check_static, 1000); - init_capabilities(); - quadplane.setup(); AP_Param::reload_defaults_file(true);