From 3823493cd2e6ce80c960699e096606c1e544afb2 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 7 Jun 2024 20:38:36 +0100 Subject: [PATCH] ArduPlane: use new ModeReason::AUX_FUNCTION --- ArduPlane/RC_Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/RC_Channel.cpp b/ArduPlane/RC_Channel.cpp index 338e5582c8..9230792084 100644 --- a/ArduPlane/RC_Channel.cpp +++ b/ArduPlane/RC_Channel.cpp @@ -43,7 +43,7 @@ void RC_Channel_Plane::do_aux_function_change_mode(const Mode::Number number, switch(ch_flag) { case AuxSwitchPos::HIGH: { // engage mode (if not possible we remain in current flight mode) - plane.set_mode_by_number(number, ModeReason::RC_COMMAND); + plane.set_mode_by_number(number, ModeReason::AUX_FUNCTION); break; } default: