Compilation fixes (thanks to Jenkins)
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user