From 9f29cb0fbae4be31b8ed3d893f6176c2d1c3d5dc Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 13 Dec 2024 21:24:35 +0000 Subject: [PATCH] Plane: RC_Channel: pass trigger object onto ICE --- ArduPlane/RC_Channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/RC_Channel.cpp b/ArduPlane/RC_Channel.cpp index e71f53cfa0..c407062f11 100644 --- a/ArduPlane/RC_Channel.cpp +++ b/ArduPlane/RC_Channel.cpp @@ -470,7 +470,7 @@ bool RC_Channel_Plane::do_aux_function(const AuxFuncTrigger &trigger) #if AP_ICENGINE_ENABLED case AUX_FUNC::ICE_START_STOP: - plane.g2.ice_control.do_aux_function(ch_flag); + plane.g2.ice_control.do_aux_function(trigger); break; #endif