Browse Source

Copter: Add RC option for ACRO mode in Copter

c415-sdk
Hwurzburg 5 years ago committed by Randy Mackay
parent
commit
08e89b0b96
  1. 7
      ArduCopter/RC_Channel.cpp

7
ArduCopter/RC_Channel.cpp

@ -518,6 +518,13 @@ void RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const AuxSwi @@ -518,6 +518,13 @@ void RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const AuxSwi
do_aux_function_change_mode(Mode::Number::ALT_HOLD, ch_flag);
break;
case AUX_FUNC::ACRO:
#if MODE_ACRO_ENABLED == ENABLED
do_aux_function_change_mode(Mode::Number::ACRO, ch_flag);
#endif
break;
case AUX_FUNC::FLOWHOLD:
#if OPTFLOW == ENABLED
do_aux_function_change_mode(Mode::Number::FLOWHOLD, ch_flag);

Loading…
Cancel
Save