From f9f9beb858a8a3756adf970cdfd10bfe3ecddc0e Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 3 Aug 2024 13:30:50 +0100 Subject: [PATCH] Plane: add ICEngine start/stop aux function --- ArduPlane/RC_Channel.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ArduPlane/RC_Channel.cpp b/ArduPlane/RC_Channel.cpp index 424c861c7f..d674c55806 100644 --- a/ArduPlane/RC_Channel.cpp +++ b/ArduPlane/RC_Channel.cpp @@ -169,6 +169,9 @@ void RC_Channel_Plane::init_aux_function(const RC_Channel::AUX_FUNC ch_option, case AUX_FUNC::FW_AUTOTUNE: case AUX_FUNC::VFWD_THR_OVERRIDE: case AUX_FUNC::PRECISION_LOITER: +#if AP_ICENGINE_ENABLED + case AUX_FUNC::ICE_START_STOP: +#endif #if QAUTOTUNE_ENABLED case AUX_FUNC::AUTOTUNE_TEST_GAINS: #endif @@ -287,6 +290,9 @@ bool RC_Channel_Plane::do_aux_function(const AUX_FUNC ch_option, const AuxSwitch case AUX_FUNC::FLAP: case AUX_FUNC::FBWA_TAILDRAGGER: case AUX_FUNC::AIRBRAKE: +#if AP_ICENGINE_ENABLED + case AUX_FUNC::ICE_START_STOP: +#endif break; // input labels, nothing to do #if HAL_QUADPLANE_ENABLED