Browse Source

Plane: added RC option for LOITER mode

Handy to have, and much better than use CIRCLE
zr-v5.1
giacomo892 5 years ago committed by Andrew Tridgell
parent
commit
1ee3118bc4
  1. 4
      ArduPlane/RC_Channel.cpp

4
ArduPlane/RC_Channel.cpp

@ -106,6 +106,10 @@ void RC_Channel_Plane::do_aux_function(const aux_func_t ch_option, const aux_swi @@ -106,6 +106,10 @@ void RC_Channel_Plane::do_aux_function(const aux_func_t ch_option, const aux_swi
case AUX_FUNC::CIRCLE:
do_aux_function_change_mode(Mode::Number::CIRCLE, ch_flag);
break;
case AUX_FUNC::LOITER:
do_aux_function_change_mode(Mode::Number::LOITER, ch_flag);
break;
case AUX_FUNC::GUIDED:
do_aux_function_change_mode(Mode::Number::GUIDED, ch_flag);

Loading…
Cancel
Save