This commit is contained in:
Matthew Kennedy 2023-10-31 00:51:13 -07:00
commit 9649fbfc3a
1 changed files with 2 additions and 2 deletions

View File

@ -231,8 +231,8 @@ void processCanRxMessage(CanBusIndex busIndex, const CANRxFrame &frame, efitick_
#if EFI_USE_OPENBLT
if ((CAN_SID(frame) == 0x667) && (frame.DLC == 2)) {
// TODO: gracefull shutdown?
if (((busIndex == CanBusIdx::Bus0) && (engineConfiguration->canOpenBLT)) ||
((busIndex == CanBusIdx::Bus1) && (engineConfiguration->can2OpenBLT))) {
if (((busIndex == CanBusIndex::Bus0) && (engineConfiguration->canOpenBLT)) ||
((busIndex == CanBusIndex::Bus1) && (engineConfiguration->can2OpenBLT))) {
jump_to_openblt();
}
}