Second CAN #3687
This commit is contained in:
parent
24b7de0323
commit
cb5357890b
|
@ -787,7 +787,7 @@ CANDriver* detectCanDeviceImpl(brain_pin_e pinRx, brain_pin_e pinTx) {
|
||||||
if (isValidCan2RxPin(pinRx) && isValidCan2TxPin(pinTx))
|
if (isValidCan2RxPin(pinRx) && isValidCan2TxPin(pinTx))
|
||||||
return &CAND2;
|
return &CAND2;
|
||||||
#endif
|
#endif
|
||||||
firmwareError(OBD_PCM_Processor_Fault, "invalid CAN pins", hwPortname(pinTx));
|
firmwareError(OBD_PCM_Processor_Fault, "invalid CAN pins %s", hwPortname(pinTx));
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue