fix: pushCS should not be a GF (#6571)

Co-authored-by: elecpower <elecpower@users.noreply.github.com>
This commit is contained in:
3djc
2025-09-14 07:49:36 +10:00
committed by GitHub
co-authored by elecpower
parent 761ecab21e
commit 23830197b3
7 changed files with 97 additions and 15 deletions
+5
View File
@@ -678,6 +678,11 @@ bool isAssignableFunctionAvailable(int function, bool modelFunctions)
case FUNC_TEST:
return false;
#endif
#if defined(FUNCTION_SWITCHES) || defined(CFN_ONLY)
case FUNC_PUSH_CUST_SWITCH:
return modelFunctions;
#endif
default:
return true;
}