OpneBLT: Ops!: use can2OpenBLT for second CAN (#4430)
This commit is contained in:
parent
62e7463b4b
commit
a6bb71f52b
|
@ -230,7 +230,7 @@ void processCanRxMessage(const size_t busIndex, const CANRxFrame &frame, efitick
|
||||||
if ((CAN_SID(frame) == 0x667) && (frame.DLC == 2)) {
|
if ((CAN_SID(frame) == 0x667) && (frame.DLC == 2)) {
|
||||||
/* TODO: gracefull shutdown? */
|
/* TODO: gracefull shutdown? */
|
||||||
if (((busIndex == 0) && (engineConfiguration->canOpenBLT)) ||
|
if (((busIndex == 0) && (engineConfiguration->canOpenBLT)) ||
|
||||||
((busIndex == 1) && (engineConfiguration->canOpenBLT))) {
|
((busIndex == 1) && (engineConfiguration->can2OpenBLT))) {
|
||||||
jump_to_openblt();
|
jump_to_openblt();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue