mirror of https://github.com/ArduPilot/ardupilot
Sub: correct comment on prev control mode
This commit is contained in:
parent
b96bb5dc08
commit
8ed5a18cf9
|
@ -112,7 +112,7 @@ bool Sub::set_mode(Mode::Number mode, ModeReason reason)
|
|||
// perform any cleanup required by previous flight mode
|
||||
exit_mode(flightmode, new_flightmode);
|
||||
|
||||
// store previous flight mode (only used by tradeheli's autorotation)
|
||||
// store previous flight mode
|
||||
prev_control_mode = control_mode;
|
||||
|
||||
// update flight mode
|
||||
|
|
Loading…
Reference in New Issue