Skip to content

Commit

Permalink
fix: Filter out model specific sources
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Aug 19, 2024
1 parent 06db4c7 commit dfe9a83
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion radio/src/gui/gui_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}

Expand Down

0 comments on commit dfe9a83

Please sign in to comment.