AP_Mission: initialize jump-tracking in init()

This commit is contained in:
Bob Long 2022-09-21 14:38:52 -04:00 committed by Randy Mackay
parent 80466dc088
commit 43c06a1646
1 changed files with 3 additions and 0 deletions

View File

@ -54,6 +54,9 @@ void AP_Mission::init()
// command list will be cleared if they do not match
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 (AP_MISSION_MASK_MISSION_CLEAR & _options) {
gcs().send_text(MAV_SEVERITY_INFO, "Clearing Mission");