mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
AP_Mission: set source index when running aux functions
This commit is contained in:
parent
72ce853fb0
commit
e2a57a0e6e
@ -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