mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: set source index when running aux functions
This commit is contained in:
parent
dfc312d8fa
commit
c0d1be4d2e
@ -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::WEATHER_VANE_ENABLE:
|
||||
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;
|
||||
default:
|
||||
RC_Channel::init_aux_function(ch_option, ch_flag);
|
||||
|
Loading…
Reference in New Issue
Block a user