lua can
This commit is contained in:
parent
e662544919
commit
8fdf2521e5
|
@ -500,8 +500,8 @@ void configureRusefiLuaHooks(lua_State* l) {
|
||||||
return 1;
|
return 1;
|
||||||
});
|
});
|
||||||
|
|
||||||
#if EFI_CAN_SUPPORT
|
|
||||||
lua_register(l, "txCan", lua_txCan);
|
lua_register(l, "txCan", lua_txCan);
|
||||||
|
#if EFI_CAN_SUPPORT
|
||||||
lua_register(l, "canRxAdd", [](lua_State* l) {
|
lua_register(l, "canRxAdd", [](lua_State* l) {
|
||||||
auto eid = luaL_checkinteger(l, 1);
|
auto eid = luaL_checkinteger(l, 1);
|
||||||
addLuaCanRxFilter(eid);
|
addLuaCanRxFilter(eid);
|
||||||
|
|
Loading…
Reference in New Issue