From 2c2429854bcf4adb4ec6773d38ed214e274e6854 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 15 Nov 2022 12:28:31 -0500 Subject: [PATCH] copy-paste bad --- firmware/controllers/lua/lua_hooks.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/firmware/controllers/lua/lua_hooks.cpp b/firmware/controllers/lua/lua_hooks.cpp index a4a1bf34fd..964a4f3833 100644 --- a/firmware/controllers/lua/lua_hooks.cpp +++ b/firmware/controllers/lua/lua_hooks.cpp @@ -756,7 +756,6 @@ void configureRusefiLuaHooks(lua_State* l) { return 0; }); lua_register(l, "setEtbDisabled", [](lua_State* l) { - auto luaAdjustment = luaL_checknumber(l, 1); engine->engineState.lua.luaDisableEtb = lua_toboolean(l, 1); return 0; });