Tracker: Make capability init consistent
This commit is contained in:
parent
a40295c3b6
commit
32b88feb60
@ -17,6 +17,8 @@ void Tracker::init_tracker()
|
|||||||
AP::fwversion().fw_string,
|
AP::fwversion().fw_string,
|
||||||
(unsigned)hal.util->available_memory());
|
(unsigned)hal.util->available_memory());
|
||||||
|
|
||||||
|
init_capabilities();
|
||||||
|
|
||||||
// Check the EEPROM format version before loading any parameters from EEPROM
|
// Check the EEPROM format version before loading any parameters from EEPROM
|
||||||
load_parameters();
|
load_parameters();
|
||||||
|
|
||||||
@ -100,8 +102,6 @@ void Tracker::init_tracker()
|
|||||||
get_home_eeprom(current_loc);
|
get_home_eeprom(current_loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
init_capabilities();
|
|
||||||
|
|
||||||
gcs().send_text(MAV_SEVERITY_INFO,"Ready to track");
|
gcs().send_text(MAV_SEVERITY_INFO,"Ready to track");
|
||||||
hal.scheduler->delay(1000); // Why????
|
hal.scheduler->delay(1000); // Why????
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user