1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

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

needed
This commit is contained in:
bsongis 2014-11-02 15:56:04 +01:00
parent 13772429f9
commit aa28af6235
5 changed files with 23 additions and 7 deletions

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();