looks good
This commit is contained in:
parent
83a73e3ee3
commit
bbdfe97e56
|
@ -254,8 +254,8 @@ function onMotorInfo(bus, id, dlc, data)
|
||||||
end
|
end
|
||||||
|
|
||||||
function onMotor7(bus, id, dlc, data)
|
function onMotor7(bus, id, dlc, data)
|
||||||
-- txCan(TCU_BUS, id, 0, motor7Data)
|
txCan(TCU_BUS, id, 0, motor7Data)
|
||||||
txCan(TCU_BUS, id, 0, data)
|
-- txCan(TCU_BUS, id, 0, data)
|
||||||
end
|
end
|
||||||
|
|
||||||
canRxAdd(ECU_BUS, MOTOR_1, onMotor1)
|
canRxAdd(ECU_BUS, MOTOR_1, onMotor1)
|
||||||
|
@ -280,8 +280,6 @@ function onTick()
|
||||||
-- print(freqValue .. " mafValue=" .. mafValue)
|
-- print(freqValue .. " mafValue=" .. mafValue)
|
||||||
mafSensor : set(mafValue)
|
mafSensor : set(mafValue)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if everySecondTimer : getElapsedSeconds() > 1 then
|
if everySecondTimer : getElapsedSeconds() > 1 then
|
||||||
everySecondTimer : reset()
|
everySecondTimer : reset()
|
||||||
print("Total from ECU " ..totalEcuMessages)
|
print("Total from ECU " ..totalEcuMessages)
|
||||||
|
|
Loading…
Reference in New Issue