diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 4d64660186..d1d8c7b120 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -822,6 +822,7 @@ everySecondTimer = Timer.new(); -- cranking! packet542 = {0x20, 0xc2, 0x81, 0xd9, 0x00, 0x00, 0x00, 0x00} +packet543 = {0x13, 0x57, 0x13, 0x45, 0x00, 0xe8, 0x00, 0x00} -- every 200ms packet540 = {0x00, 0x00, 0x5a, 0x4c, 0xff, 0x00, 0x00, 0x00} @@ -832,9 +833,13 @@ packet546 = {0x35, 0x48, 0x44, 0x31, 0x46, 0x48} packet547 = {0x50, 0x41, 0x31, 0x4b, 0x42, 0x36} packet548 = {0x33, 0x34, 0x38, 0x32, 0x32, 0x00} +counter543 = 0; + function onTick() txCan(1, 0x542, 1, packet542) + txCan(1, 0x543, 1, packet543) + if every200msTimer:getElapsedSeconds() > 1 then every200msTimer:reset(); txCan(1, 0x540, 1, packet540)