Merge pull request #1099 from DC37/can_loopback_11c14

Fix bug with CAN loopback implementation on LPC11c14
pull/1100/head^2
Martin Kojtal 2015-05-12 08:52:12 +02:00
commit 7bc3af6fed
1 changed files with 1 additions and 1 deletions

View File

@ -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: