Merge pull request #3950 from opentx/3djc/Horus-enable-perm-scripts
3djc/horus enable perm scripts
This commit is contained in:
@@ -739,9 +739,9 @@ bool luaTask(event_t evt, uint8_t scriptType, bool allowLcdUsage)
|
|||||||
#if !defined(COLORLCD)
|
#if !defined(COLORLCD)
|
||||||
luaInit();
|
luaInit();
|
||||||
if (luaState == INTERPRETER_PANIC) return false;
|
if (luaState == INTERPRETER_PANIC) return false;
|
||||||
|
#endif
|
||||||
luaLoadPermanentScripts();
|
luaLoadPermanentScripts();
|
||||||
if (luaState == INTERPRETER_PANIC) return false;
|
if (luaState == INTERPRETER_PANIC) return false;
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<luaScriptsCount; i++) {
|
for (int i=0; i<luaScriptsCount; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user