mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
Rover: move control_mode_reason up to AP_Vehicle
This commit is contained in:
parent
2b890eda53
commit
8d38a627a9
@ -199,7 +199,6 @@ private:
|
|||||||
// This is the state of the flight control system
|
// This is the state of the flight control system
|
||||||
// There are multiple states defined such as MANUAL, AUTO, ...
|
// There are multiple states defined such as MANUAL, AUTO, ...
|
||||||
Mode *control_mode;
|
Mode *control_mode;
|
||||||
ModeReason control_mode_reason = ModeReason::UNKNOWN;
|
|
||||||
|
|
||||||
// Used to maintain the state of the previous control switch position
|
// Used to maintain the state of the previous control switch position
|
||||||
// This is set to -1 when we need to re-read the switch
|
// This is set to -1 when we need to re-read the switch
|
||||||
|
Loading…
Reference in New Issue
Block a user