From 6c64503cd2df49ccd48eb79627bccd16b3751bcf Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 16 Mar 2024 17:20:10 -0600 Subject: [PATCH] funny games with dash via Lua to override CAN dash profile values #6235 --- firmware/controllers/lua/lua_hooks.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/firmware/controllers/lua/lua_hooks.h b/firmware/controllers/lua/lua_hooks.h index 0ec8b9012b..6195f77470 100644 --- a/firmware/controllers/lua/lua_hooks.h +++ b/firmware/controllers/lua/lua_hooks.h @@ -7,3 +7,10 @@ void luaDeInitPins(); struct AirmassModelBase; AirmassModelBase& getLuaAirmassModel(); bool getAuxDigital(int index); + +struct LuaDashOverride { + // this helps with all kinds of cool tachometer sweeps! + int16_t rpm = -1; + int16_t coolant = -1; + float vbatt = -1; +};