AP_Button: move to AuxFuncTrigger structure

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

View File

@ -278,7 +278,7 @@ void AP_Button::run_aux_functions(bool force)
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "Button %i: executing (%s %s)", i+1, str, rc_channel->string_for_aux_pos(pos));
}
#endif
rc_channel->run_aux_function(func, pos, RC_Channel::AuxFuncTriggerSource::BUTTON);
rc_channel->run_aux_function(func, pos, RC_Channel::AuxFuncTrigger::Source::BUTTON);
}
}