this needs work

This commit is contained in:
rusefillc 2022-12-30 22:49:48 -05:00
parent 674da2458c
commit af5b12c8f7
1 changed files with 1 additions and 3 deletions

View File

@ -244,13 +244,11 @@ function onMotorInfo(bus, id, dlc, data)
if (mod4 == 0 or mod4 == 2) then
-- txCan(1, MOTOR_INFO, 0, canMotorInfo)
txCan(TCU_BUS, id, 0, data)
txCan(TCU_BUS, id, 0, data)
elseif (mod4 == 1) then
txCan(1, MOTOR_INFO, 0, canMotorInfo1)
-- txCan(TCU_BUS, id, 0, data)
else
txCan(1, MOTOR_INFO, 0, canMotorInfo3)
-- txCan(TCU_BUS, id, 0, data)
end
end