Sub: correct comment on prev control mode

This commit is contained in:
Gone4Dirt 2024-08-07 20:57:48 +01:00 committed by Peter Barker
parent b96bb5dc08
commit 8ed5a18cf9
1 changed files with 1 additions and 1 deletions

View File

@ -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