Plane: Make capability init consistent

This commit is contained in:
Michael du Breuil 2018-11-02 19:57:51 -07:00 committed by Peter Barker
parent 0f636db159
commit 9e1b0de6b7

View File

@ -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);