only:do not relay EXT

This commit is contained in:
rusefillc 2024-07-24 17:01:00 -04:00
parent 1eb716fd57
commit 7981c0fa64
1 changed files with 2 additions and 0 deletions

View File

@ -49,7 +49,9 @@ end
function onAnythingFromECU(bus, id, dlc, data)
totalEcuMessages = totalEcuMessages + 1
print('from ECU ' .. id .. " " .. arrayToString(data) .. " dropped=" .. totalDropped .. " replaced " .. totalReplaced)
if id < 2048 then
txCan(TCU_BUS, id, 0, data) -- relay non-TCU message to TCU
end
end
function onAnythingFromTCU(bus, id, dlc, data)