AP_Mission: move to AuxFuncTrigger structure

This commit is contained in:
Iampete1 2024-12-13 21:15:46 +00:00 committed by Andrew Tridgell
parent 0732bf8c5f
commit 921b91930a

View File

@ -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::AuxFuncTriggerSource::MISSION);
rc().run_aux_function(function, pos, RC_Channel::AuxFuncTrigger::Source::MISSION);
return true;
}
#endif // AP_RC_CHANNEL_ENABLED