fix(lua): radio tries to run 'nil' script if SF disabled (#5457)
This commit is contained in:
@@ -1132,7 +1132,7 @@ static bool resumeLua(bool init, bool allowLcdUsage)
|
||||
if (sid.background == LUA_NOREF) continue;
|
||||
lua_rawgeti(lsScripts, LUA_REGISTRYINDEX, sid.background);
|
||||
}
|
||||
}
|
||||
} else continue;
|
||||
}
|
||||
#if defined(PCBTARANIS)
|
||||
else if (ref <= SCRIPT_TELEMETRY_LAST) {
|
||||
|
||||
Reference in New Issue
Block a user