mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-06 16:08:28 -04:00
AP_Mission: set source index when running aux functions
This commit is contained in:
parent
81c5697948
commit
440d49c7f3
@ -31,7 +31,7 @@ bool AP_Mission::start_command_do_aux_function(const AP_Mission::Mission_Command
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
rc().run_aux_function(function, pos, RC_Channel::AuxFuncTrigger::Source::MISSION);
|
||||
rc().run_aux_function(function, pos, RC_Channel::AuxFuncTrigger::Source::MISSION, cmd.index);
|
||||
return true;
|
||||
}
|
||||
#endif // AP_RC_CHANNEL_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user