OpneBLT: Ops!: use can2OpenBLT for second CAN (#4430)

This commit is contained in:
Andrey G 2022-08-10 01:12:11 +03:00 committed by GitHub
parent 62e7463b4b
commit a6bb71f52b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void processCanRxMessage(const size_t busIndex, const CANRxFrame &frame, efitick
if ((CAN_SID(frame) == 0x667) && (frame.DLC == 2)) {
/* TODO: gracefull shutdown? */
if (((busIndex == 0) && (engineConfiguration->canOpenBLT)) ||
((busIndex == 1) && (engineConfiguration->canOpenBLT))) {
((busIndex == 1) && (engineConfiguration->can2OpenBLT))) {
jump_to_openblt();
}
}