Rover: use new ModeReason::AUX_FUNCTION

This commit is contained in:
Iampete1 2024-06-07 20:38:36 +01:00 committed by Peter Barker
parent 042fd53750
commit bd17d4d035
1 changed files with 1 additions and 1 deletions

View File

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