AP_Mission: move to AuxFuncTrigger structure

This commit is contained in:
Iampete1 2024-12-13 21:15:46 +00:00
parent 435aff1d86
commit 0420f13c30

View File

@ -31,7 +31,7 @@ bool AP_Mission::start_command_do_aux_function(const AP_Mission::Mission_Command
default: default:
return false; 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; return true;
} }
#endif // AP_RC_CHANNEL_ENABLED #endif // AP_RC_CHANNEL_ENABLED