Skip to content

Commit

Permalink
Rover: use new ModeReason::AUX_FUNCTION
Browse files Browse the repository at this point in the history
  • Loading branch information
IamPete1 committed Jun 7, 2024
1 parent a36f552 commit 6cb5f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rover/RC_Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void RC_Channel_Rover::do_aux_function_change_mode(Mode &mode,
{
switch (ch_flag) {
case AuxSwitchPos::HIGH:
rover.set_mode(mode, ModeReason::RC_COMMAND);
rover.set_mode(mode, ModeReason::AUX_FUNCTION);
break;
case AuxSwitchPos::MIDDLE:
// do nothing
Expand Down

0 comments on commit 6cb5f50

Please sign in to comment.