Skip to content

Commit

Permalink
Sub: correct comment on prev control mode
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKear committed Sep 4, 2024
1 parent 66c4200 commit cdb9a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduSub/mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdb9a6a

Please sign in to comment.