Copter: set source index when running aux functions

This commit is contained in:
Iampete1 2024-12-20 22:24:58 +00:00
parent dfc312d8fa
commit c0d1be4d2e
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ void RC_Channel_Copter::init_aux_function(const AUX_FUNC ch_option, const AuxSwi
case AUX_FUNC::CUSTOM_CONTROLLER: case AUX_FUNC::CUSTOM_CONTROLLER:
case AUX_FUNC::WEATHER_VANE_ENABLE: case AUX_FUNC::WEATHER_VANE_ENABLE:
case AUX_FUNC::TRANSMITTER_TUNING: case AUX_FUNC::TRANSMITTER_TUNING:
run_aux_function(ch_option, ch_flag, AuxFuncTrigger::Source::INIT); run_aux_function(ch_option, ch_flag, AuxFuncTrigger::Source::INIT, ch_in);
break; break;
default: default:
RC_Channel::init_aux_function(ch_option, ch_flag); RC_Channel::init_aux_function(ch_option, ch_flag);