From e5eedfd741c7e848aab07494d150c0894f9cb657 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 28 Apr 2021 19:13:51 +1000 Subject: [PATCH] AP_Button: log auxillary function invocations --- 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 14cc1e2a45..1eb7bc26e4 100644 --- a/libraries/AP_Button/AP_Button.cpp +++ b/libraries/AP_Button/AP_Button.cpp @@ -270,7 +270,7 @@ void AP_Button::run_aux_functions(bool force) gcs().send_text(MAV_SEVERITY_INFO, "Button: executing (%s)", str); } #endif - rc_channel->do_aux_function(func, pos); + rc_channel->run_aux_function(func, pos, RC_Channel::AuxFuncTriggerSource::BUTTON); } }