1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-16 21:05:26 +03:00

The script for SBEC now searches for a SBEC sensor

This commit is contained in:
Bertrand Songis 2019-04-01 18:51:33 +02:00
parent d5ce54047c
commit a260a0eb4f

View file

@ -532,9 +532,11 @@ int luaLoadScriptFileToState(lua_State * L, const char * filename, const char *
TRACE_ERROR("luaLoadScriptFileToState(%s, %s): Error loading script: %s\n", filename, lmode, lua_tostring(L, -1));
if (lstatus == LUA_ERRFILE) {
ret = SCRIPT_NOFILE;
} else if (lstatus == LUA_ERRSYNTAX) {
}
else if (lstatus == LUA_ERRSYNTAX) {
ret = SCRIPT_SYNTAX_ERROR;
} else { // LUA_ERRMEM or LUA_ERRGCMM
}
else { // LUA_ERRMEM or LUA_ERRGCMM
ret = SCRIPT_PANIC;
}
}