mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
Compilation fixes (thanks to Jenkins)
This commit is contained in:
parent
62f2a321f2
commit
f0cd4fbe8d
2 changed files with 2 additions and 4 deletions
|
@ -121,9 +121,7 @@
|
|||
#define LUA_LOAD_MODEL_SCRIPTS()
|
||||
#define LUA_LOAD_MODEL_SCRIPT(idx)
|
||||
#define LUA_STANDALONE_SCRIPT_RUNNING() (0)
|
||||
#define luaRunNonGuiScripts()
|
||||
#define luaRunGuiScripts(evt) (false)
|
||||
#define luaAllowLcdUsage(allow)
|
||||
#define luaTask(evt, scriptType, allowLcdUsage) (false)
|
||||
#endif
|
||||
|
||||
#endif // #ifndef luaapi_h
|
||||
|
|
|
@ -129,7 +129,7 @@ void perMain()
|
|||
#endif
|
||||
|
||||
// run Lua scripts that don't use LCD (to use CPU time while LCD DMA is running)
|
||||
luaTask(0, RUN_MIX_SCRIPT | RUN_FUNC_SCRIPT | RUN_TELEM_BG_SCRIPT, false);
|
||||
(void)luaTask(0, RUN_MIX_SCRIPT | RUN_FUNC_SCRIPT | RUN_TELEM_BG_SCRIPT, false);
|
||||
|
||||
// wait for LCD DMA to finish before continuing, because code from this point
|
||||
// is allowed to change the contents of LCD buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue