From ece2c198be5e7a1b018bd28acbb92a79df610d10 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sun, 24 Oct 2021 00:44:09 -0400 Subject: [PATCH] generate java enum from C enum? generate both C and java from yaml? #2102 --- firmware/controllers/lua/lua_hooks.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/controllers/lua/lua_hooks.cpp b/firmware/controllers/lua/lua_hooks.cpp index cc9ec30b13..77631ebf8c 100644 --- a/firmware/controllers/lua/lua_hooks.cpp +++ b/firmware/controllers/lua/lua_hooks.cpp @@ -5,6 +5,7 @@ #include "fuel_math.h" #include "airmass.h" +#include "utlist.h" #include "lua_airmass.h" #include "can_msg_tx.h" #include "settings.h" @@ -350,6 +351,10 @@ struct LuaCanReciever { LuaCanReciever *next; +#if EFI_PROD_CODE + cyclic_buffer pending; +#endif // EFI_PROD_CODE + ~LuaCanReciever() { LuaCanReciever *current, *tmp; // find self in list and remove self