mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Arming: added BLACKBOX arming method
This commit is contained in:
parent
fd2d976472
commit
7dc9f418a5
@ -1796,6 +1796,7 @@ void AP_Arming::check_forced_logging(const AP_Arming::Method method)
|
||||
case Method::GCS_FAILSAFE_HOLDFAILED:
|
||||
case Method::PILOT_INPUT_FAILSAFE:
|
||||
case Method::DEADRECKON_FAILSAFE:
|
||||
case Method::BLACKBOX:
|
||||
// keep logging for longer if disarmed for a bad reason
|
||||
AP::logger().set_long_log_persist(true);
|
||||
return;
|
||||
|
@ -75,6 +75,7 @@ public:
|
||||
TOYMODELANDFORCE = 31, // only disarm uses this...
|
||||
LANDING = 32, // only disarm uses this...
|
||||
DEADRECKON_FAILSAFE = 33, // only disarm uses this...
|
||||
BLACKBOX = 34,
|
||||
UNKNOWN = 100,
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user