From c170f1bccf7e00040ebb5320ae48e78fbc4dae2e Mon Sep 17 00:00:00 2001 From: Bob Long Date: Wed, 21 Sep 2022 14:38:52 -0400 Subject: [PATCH] AP_Mission: initialize jump-tracking in init() --- libraries/AP_Mission/AP_Mission.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Mission/AP_Mission.cpp b/libraries/AP_Mission/AP_Mission.cpp index 71427453e7..672d1feefd 100644 --- a/libraries/AP_Mission/AP_Mission.cpp +++ b/libraries/AP_Mission/AP_Mission.cpp @@ -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");