From dfe9a83088c3b0883f2b79dea663c3c1ef7c38ed Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Fri, 17 Nov 2023 18:34:21 +1000 Subject: [PATCH] fix: Filter out model specific sources --- radio/src/gui/gui_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/radio/src/gui/gui_common.cpp b/radio/src/gui/gui_common.cpp index 2758dc8e53f..6f2084f122c 100644 --- a/radio/src/gui/gui_common.cpp +++ b/radio/src/gui/gui_common.cpp @@ -341,7 +341,8 @@ bool isSourceAvailable(int source) bool isSourceAvailableInGlobalFunctions(int source) { return checkSourceAvailable(source, - SRC_COMMON | SRC_INPUT | SRC_LUA | SRC_HELI | SRC_CHANNEL | SRC_TX | SRC_TIMER + SRC_STICK | SRC_POT | SRC_TILT | SRC_SPACEMOUSE | SRC_MINMAX | SRC_TRIM | \ + SRC_SWITCH ); }