ArduPlane: added RC option for new takeoff mode

This commit is contained in:
Henry Wurzburg 2019-10-20 16:40:35 -05:00 committed by Andrew Tridgell
parent 119f0a95ad
commit 871e5f448c

View File

@ -114,6 +114,11 @@ void RC_Channel_Plane::do_aux_function(const aux_func_t ch_option, const aux_swi
do_aux_function_change_mode(Mode::Number::RTL, ch_flag);
break;
case AUX_FUNC::TAKEOFF:
do_aux_function_change_mode(Mode::Number::TAKEOFF, ch_flag);
break;
default:
RC_Channel::do_aux_function(ch_option, ch_flag);
break;