This commit is contained in:
parent
93d20f33ec
commit
a19a7120df
|
@ -35,6 +35,7 @@ Release template (copy/paste this for new release):
|
||||||
- RPM correction/multiplier for Accel Enrich #4760
|
- RPM correction/multiplier for Accel Enrich #4760
|
||||||
- Tooth logger writes to SD card #4897
|
- Tooth logger writes to SD card #4897
|
||||||
- Antilag #2403
|
- Antilag #2403
|
||||||
|
- Lua 'setIgnDisabled' function for all kinds of cranking safety systems
|
||||||
|
|
||||||
## December 2022 Release - "Day 289"
|
## December 2022 Release - "Day 289"
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,10 @@ void LimpManager::updateState(int rpm, efitick_t nowNt) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (engine->engineState.lua.luaIgnCut) {
|
||||||
|
allowSpark.clear(ClearReason::Lua);
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
// User-configured hard RPM limit, either constant or CLT-lookup
|
// User-configured hard RPM limit, either constant or CLT-lookup
|
||||||
// todo: migrate to engineState->desiredRpmLimit to get this variable logged
|
// todo: migrate to engineState->desiredRpmLimit to get this variable logged
|
||||||
|
|
|
@ -780,6 +780,10 @@ void configureRusefiLuaHooks(lua_State* l) {
|
||||||
engine->engineState.lua.luaDisableEtb = lua_toboolean(l, 1);
|
engine->engineState.lua.luaDisableEtb = lua_toboolean(l, 1);
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
|
lua_register(l, "setIgnDisabled", [](lua_State* l) {
|
||||||
|
engine->engineState.lua.luaIgnCut = lua_toboolean(l, 1);
|
||||||
|
return 0;
|
||||||
|
});
|
||||||
#endif // EFI_PROD_CODE
|
#endif // EFI_PROD_CODE
|
||||||
|
|
||||||
lua_register(l, "setClutchUpState", [](lua_State* l) {
|
lua_register(l, "setClutchUpState", [](lua_State* l) {
|
||||||
|
|
Loading…
Reference in New Issue