Add a new parameter "Use Global Functions" for model where they are not

needed
This commit is contained in:
bsongis
2014-11-04 07:25:23 +01:00
parent 13772429f9
commit aa28af6235
5 changed files with 23 additions and 7 deletions
+3 -1
View File
@@ -1041,7 +1041,9 @@ void evalMixes(uint8_t tick10ms)
#endif
#if defined(CPUARM)
evalFunctions(g_eeGeneral.customFn, globalFunctionsContext);
if (!g_model.noGlobalFunctions) {
evalFunctions(g_eeGeneral.customFn, globalFunctionsContext);
}
evalFunctions(g_model.customFn, modelFunctionsContext);
#else
evalFunctions();