looks good
This commit is contained in:
parent
83a73e3ee3
commit
bbdfe97e56
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue