From 09ec99f19286d175afb10fc51ee2dde6aa587788 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 21 Aug 2022 00:58:59 -0400 Subject: [PATCH] Idle air add via Lua fix #4465 AddressSanitizer being useful? --- firmware/controllers/algo/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/algo/engine.cpp b/firmware/controllers/algo/engine.cpp index ec342e83ab..63844626c3 100644 --- a/firmware/controllers/algo/engine.cpp +++ b/firmware/controllers/algo/engine.cpp @@ -365,7 +365,7 @@ void Engine::resetLua() { #endif // EFI_BOOST_CONTROL ignitionState.luaTimingAdd = 0; ignitionState.luaTimingMult = 1; - engine->module().unmock().luaAdd = 0; + module().unmock().luaAdd = 0; } /**