Skip to content

Commit

Permalink
Blimp: 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 6ce1396 commit a36f552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blimp/RC_Channel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a36f552

Please sign in to comment.