Rover: Make capability init consistent

This commit is contained in:
Michael du Breuil 2018-11-02 19:56:55 -07:00 committed by Peter Barker
parent 8641dcbc31
commit a40295c3b6

View File

@ -27,6 +27,8 @@ void Rover::init_ardupilot()
AP::fwversion().fw_string,
(unsigned)hal.util->available_memory());
init_capabilities();
//
// Check the EEPROM format version before loading any parameters from EEPROM.
//
@ -142,8 +144,6 @@ void Rover::init_ardupilot()
// initialize SmartRTL
g2.smart_rtl.init();
init_capabilities();
startup_ground();
Mode *initial_mode = mode_from_mode_num((enum Mode::Number)g.initial_mode.get());