Skip to content

Commit

Permalink
fix(lua): radio tries to run 'nil' script if SF disabled (#5457)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Aug 18, 2024
1 parent 9fbe1f2 commit 06db4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/lua/interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 06db4c7

Please sign in to comment.