ArduPlane: move control_mode_reason up to AP_Vehicle

This commit is contained in:
Peter Barker 2021-02-03 10:48:15 +11:00 committed by Andrew Tridgell
parent adc0514cf6
commit eaa6b36077
1 changed files with 0 additions and 1 deletions

View File

@ -289,7 +289,6 @@ private:
// This is the state of the flight control system
// There are multiple states defined such as MANUAL, FBW-A, AUTO
Mode *control_mode = &mode_initializing;
ModeReason control_mode_reason = ModeReason::UNKNOWN;
Mode *previous_mode = &mode_initializing;
ModeReason previous_mode_reason = ModeReason::UNKNOWN;