merge rusEFI wiki
This commit is contained in:
commit
892be6921e
|
@ -354,9 +354,13 @@ canRxAdd(0x570)
|
||||||
function onCanRx(bus, id, dlc, data)
|
function onCanRx(bus, id, dlc, data)
|
||||||
print('got CAN id=' ..id ..' dlc=' ..dlc)
|
print('got CAN id=' ..id ..' dlc=' ..dlc)
|
||||||
id11 = id % 2048
|
id11 = id % 2048
|
||||||
if id11 == 0x500 then --Check can state of BCM
|
if id11 == 0x500 then
|
||||||
|
-- Check can state of BCM
|
||||||
canState = data[1]
|
canState = data[1]
|
||||||
end
|
end
|
||||||
|
if id11 == 0x570 then
|
||||||
|
mcu_standby()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue