mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Mission: initialize jump-tracking in init()
This commit is contained in:
parent
be495f5959
commit
06caabfa04
@ -54,6 +54,9 @@ void AP_Mission::init()
|
|||||||
// command list will be cleared if they do not match
|
// command list will be cleared if they do not match
|
||||||
check_eeprom_version();
|
check_eeprom_version();
|
||||||
|
|
||||||
|
// initialize the jump tracking array
|
||||||
|
init_jump_tracking();
|
||||||
|
|
||||||
// If Mission Clear bit is set then it should clear the mission, otherwise retain the mission.
|
// If Mission Clear bit is set then it should clear the mission, otherwise retain the mission.
|
||||||
if (AP_MISSION_MASK_MISSION_CLEAR & _options) {
|
if (AP_MISSION_MASK_MISSION_CLEAR & _options) {
|
||||||
gcs().send_text(MAV_SEVERITY_INFO, "Clearing Mission");
|
gcs().send_text(MAV_SEVERITY_INFO, "Clearing Mission");
|
||||||
|
Loading…
Reference in New Issue
Block a user