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:
parent
d5ce54047c
commit
a260a0eb4f
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue