mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Global functions (only Firmware) - saves 20bytes flash on 9X stock
This commit is contained in:
parent
5173907efd
commit
2f8b9347a4
55 changed files with 1328 additions and 1154 deletions
|
@ -1027,7 +1027,13 @@ void evalMixes(uint8_t tick10ms)
|
|||
#if defined(CPUARM)
|
||||
requiredSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF;
|
||||
#endif
|
||||
|
||||
#if defined(CPUARM)
|
||||
evalFunctions(g_eeGeneral.customFn, globalFunctionsContext);
|
||||
evalFunctions(g_model.customFn, modelFunctionsContext);
|
||||
#else
|
||||
evalFunctions();
|
||||
#endif
|
||||
}
|
||||
|
||||
//========== LIMITS ===============
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue