Plane: RC_Channel: pass trigger object onto ICE

This commit is contained in:
Iampete1 2024-12-13 21:24:35 +00:00 committed by Andrew Tridgell
parent a9b5068fbe
commit 9f29cb0fba

View File

@ -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