From 17619f5de688cd007ac82fd96aaacf41a3fc035f Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 11 Jan 2023 12:36:11 -0500 Subject: [PATCH] B6 now with TP 2.0 --- firmware/config/engines/vw_b6.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/config/engines/vw_b6.lua b/firmware/config/engines/vw_b6.lua index b5ef8feebb..3b60e25a33 100644 --- a/firmware/config/engines/vw_b6.lua +++ b/firmware/config/engines/vw_b6.lua @@ -313,6 +313,10 @@ function onCanHello(bus, id, dlc, data) txCan(1, tcuId, 0, { 0xA0, 0x0F, 0x8A, 0xFF, 0x32, 0xFF }) end +local sendCounter = 2 +local packetCounter = 1 +local payLoadIndex = 0 + local groups = { 10 } -- todo: smarter array size calculation? local groupsSize = 1