Merge remote-tracking branch 'technical-git/master'
This commit is contained in:
commit
0d835603dd
10
B6-temp.md
10
B6-temp.md
|
@ -228,8 +228,8 @@ function onAccGra(bus, id, dlc, data)
|
||||||
setBitRange(accGraData, 60, 4, accGraCounter)
|
setBitRange(accGraData, 60, 4, accGraCounter)
|
||||||
xorChecksum(accGraData, 1)
|
xorChecksum(accGraData, 1)
|
||||||
|
|
||||||
-- txCan(TCU_BUS, id, 0, accGraData)
|
txCan(TCU_BUS, id, 0, accGraData)
|
||||||
txCan(TCU_BUS, id, 0, data)
|
-- txCan(TCU_BUS, id, 0, data)
|
||||||
end
|
end
|
||||||
|
|
||||||
canMotorInfoCounter = 0
|
canMotorInfoCounter = 0
|
||||||
|
@ -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