mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #1099 from DC37/can_loopback_11c14
Fix bug with CAN loopback implementation on LPC11c14pull/1100/head^2
commit
7bc3af6fed
|
@ -71,7 +71,7 @@ int can_mode(can_t *obj, CanMode mode) {
|
|||
break;
|
||||
case MODE_TEST_SILENT:
|
||||
LPC_CAN->CNTL |= CANCNTL_TEST;
|
||||
LPC_CAN->TEST |= (CANCNTL_LBACK | CANTEST_SILENT);
|
||||
LPC_CAN->TEST |= (CANTEST_LBACK | CANTEST_SILENT);
|
||||
success = 1;
|
||||
break;
|
||||
case MODE_TEST_GLOBAL:
|
||||
|
|
Loading…
Reference in New Issue