diff --git a/libraries/AP_Arming/AP_Arming.cpp b/libraries/AP_Arming/AP_Arming.cpp index 5a58872bef..2158e1b18f 100644 --- a/libraries/AP_Arming/AP_Arming.cpp +++ b/libraries/AP_Arming/AP_Arming.cpp @@ -1604,7 +1604,8 @@ void AP_Arming::check_forced_logging(const AP_Arming::Method method) case Method::GCS_FAILSAFE_SURFACEFAILED: case Method::GCS_FAILSAFE_HOLDFAILED: case Method::PILOT_INPUT_FAILSAFE: - // keep logging for longger if disarmed for a bad reason + case Method::DEADRECKON_FAILSAFE: + // keep logging for longer if disarmed for a bad reason AP::logger().set_long_log_persist(true); return; diff --git a/libraries/AP_Arming/AP_Arming.h b/libraries/AP_Arming/AP_Arming.h index 58aaaf7985..2db142aa27 100644 --- a/libraries/AP_Arming/AP_Arming.h +++ b/libraries/AP_Arming/AP_Arming.h @@ -73,6 +73,7 @@ public: TOYMODELANDTHROTTLE = 30, // only disarm uses this... TOYMODELANDFORCE = 31, // only disarm uses this... LANDING = 32, // only disarm uses this... + DEADRECKON_FAILSAFE = 33, // only disarm uses this... UNKNOWN = 100, };