Browse Source

Rover: Make capability init consistent

master
Michael du Breuil 6 years ago committed by Peter Barker
parent
commit
a40295c3b6
  1. 4
      APMrover2/system.cpp

4
APMrover2/system.cpp

@ -27,6 +27,8 @@ void Rover::init_ardupilot() @@ -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() @@ -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());

Loading…
Cancel
Save