diff --git a/libraries/AP_Mission/AP_Mission_Commands.cpp b/libraries/AP_Mission/AP_Mission_Commands.cpp index ab69c46824..c25b34131d 100644 --- a/libraries/AP_Mission/AP_Mission_Commands.cpp +++ b/libraries/AP_Mission/AP_Mission_Commands.cpp @@ -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