Merge remote-tracking branch 'technical-git/master'

This commit is contained in:
GitHub Action 2022-12-31 03:26:59 +00:00
commit 0d835603dd
1 changed files with 4 additions and 6 deletions

View File

@ -228,8 +228,8 @@ function onAccGra(bus, id, dlc, data)
setBitRange(accGraData, 60, 4, accGraCounter)
xorChecksum(accGraData, 1)
-- txCan(TCU_BUS, id, 0, accGraData)
txCan(TCU_BUS, id, 0, data)
txCan(TCU_BUS, id, 0, accGraData)
-- txCan(TCU_BUS, id, 0, data)
end
canMotorInfoCounter = 0
@ -254,8 +254,8 @@ function onMotorInfo(bus, id, dlc, data)
end
function onMotor7(bus, id, dlc, data)
-- txCan(TCU_BUS, id, 0, motor7Data)
txCan(TCU_BUS, id, 0, data)
txCan(TCU_BUS, id, 0, motor7Data)
-- txCan(TCU_BUS, id, 0, data)
end
canRxAdd(ECU_BUS, MOTOR_1, onMotor1)
@ -280,8 +280,6 @@ function onTick()
-- print(freqValue .. " mafValue=" .. mafValue)
mafSensor : set(mafValue)
if everySecondTimer : getElapsedSeconds() > 1 then
everySecondTimer : reset()
print("Total from ECU " ..totalEcuMessages)