2.1.x implementation of displayLuaScriptError()

This commit is contained in:
David S. Beach
2015-09-26 09:00:36 +02:00
committed by Bertrand Songis
parent 436b5003d9
commit e57361f7e1
3 changed files with 55 additions and 1 deletions
+1
View File
@@ -98,6 +98,7 @@
void luaExec(const char *filename);
int luaGetMemUsed();
#define luaGetCpuUsed(idx) scriptInternalData[idx].instructions
uint8_t isTelemetryScriptAvailable(uint8_t index);
#define LUA_LOAD_MODEL_SCRIPTS() luaState |= INTERPRETER_RELOAD_PERMANENT_SCRIPTS
#define LUA_LOAD_MODEL_SCRIPT(idx) luaState |= INTERPRETER_RELOAD_PERMANENT_SCRIPTS
#define LUA_STANDALONE_SCRIPT_RUNNING() (luaState == INTERPRETER_RUNNING_STANDALONE_SCRIPT)