From 042fd537502e9d0fc475946f64d184556b9cd589 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 7 Jun 2024 20:38:36 +0100 Subject: [PATCH] Blimp: use new ModeReason::AUX_FUNCTION --- Blimp/RC_Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Blimp/RC_Channel.cpp b/Blimp/RC_Channel.cpp index 8742d3e347..1132d82330 100644 --- a/Blimp/RC_Channel.cpp +++ b/Blimp/RC_Channel.cpp @@ -79,7 +79,7 @@ void RC_Channel_Blimp::do_aux_function_change_mode(const Mode::Number mode, switch (ch_flag) { case AuxSwitchPos::HIGH: { // engage mode (if not possible we remain in current flight mode) - const bool success = blimp.set_mode(mode, ModeReason::RC_COMMAND); + const bool success = blimp.set_mode(mode, ModeReason::AUX_FUNCTION); if (blimp.ap.initialised) { if (success) { AP_Notify::events.user_mode_change = 1;