From bd17d4d03556b7219e55138ce3ab2307673cdd31 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 7 Jun 2024 20:38:36 +0100 Subject: [PATCH] Rover: use new ModeReason::AUX_FUNCTION --- Rover/RC_Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rover/RC_Channel.cpp b/Rover/RC_Channel.cpp index eba8533119..4e17ec7769 100644 --- a/Rover/RC_Channel.cpp +++ b/Rover/RC_Channel.cpp @@ -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