maaaaaaaybe MEMORY LEAK DETECTED false positive? #6924

or something else?
only:uaefi
This commit is contained in:
rusefillc 2024-09-20 20:02:42 -04:00
parent 9a38a469d7
commit ccd8ba5e92
1 changed files with 2 additions and 2 deletions

View File

@ -747,13 +747,13 @@ void configureRusefiLuaHooks(lua_State* lState) {
auto targetSkipRatio = luaL_checknumber(l, 1);
engine->engineState.luaSoftSparkSkip = targetSkipRatio;
engine->engineState.updateSparkSkip();
return 1;
return 0;
});
lua_register(lState, "setSparkHardSkipRatio", [](lua_State* l) {
auto targetSkipRatio = luaL_checknumber(l, 1);
engine->engineState.luaHardSparkSkip = targetSkipRatio;
engine->engineState.updateSparkSkip();
return 1;
return 0;
});
#endif // EFI_LAUNCH_CONTROL