[Taranis] Compilation error when INTERNAL_MODULE_PPM and

MODULE_D16_EU_ONLY_SUPPORT both defined
This commit is contained in:
bsongis
2015-07-18 09:44:29 +02:00
parent cad3b7726d
commit 6147c23c0f
2 changed files with 26 additions and 5 deletions
+2
View File
@@ -309,7 +309,9 @@ bool isLogicalSwitchFunctionAvailable(int function)
bool isAssignableFunctionAvailable(int function)
{
#if defined(OVERRIDE_CHANNEL_FUNCTION) || defined(GVARS)
bool modelFunctions = (g_menuStack[g_menuStackPtr] == menuModelCustomFunctions);
#endif
switch (function) {
case FUNC_OVERRIDE_CHANNEL: