From 0732bf8c5f713e67309fe05542d3f11e07ef2151 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Fri, 13 Dec 2024 21:15:46 +0000 Subject: [PATCH] AP_Button: move to AuxFuncTrigger structure --- libraries/AP_Button/AP_Button.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Button/AP_Button.cpp b/libraries/AP_Button/AP_Button.cpp index c21a947e22..1ce5187c8c 100644 --- a/libraries/AP_Button/AP_Button.cpp +++ b/libraries/AP_Button/AP_Button.cpp @@ -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); } }