i hope it's still valid Lua

only:hellen-honda-k
This commit is contained in:
rusefi 2023-03-04 21:17:42 -05:00
parent 35c996ceca
commit 168a8b4d77
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,3 @@
canRxAdd(0x35d)
OUT_1F9 = 0x1F9
OUT_233 = 0x233
OUT_23D = 0x23D
@ -70,7 +68,7 @@ function onTick()
end
function onCanRx(bus, id, dlc, data)
function onAcCanRx(bus, id, dlc, data)
--print('got CAN id=' ..id ..' dlc=' ..dlc)
--print('ac value is= '..data[1])
if data[1] == 193 then
@ -83,4 +81,6 @@ function onCanRx(bus, id, dlc, data)
--print('ac is off')
end
end
end
canRxAdd(1, 0x35d, onAcCanRx)