Zoltan Hudak / CANnucleo

Dependents:   Nucleo-Courtois CANBLE CANnucleo_Hello3 Nucleo_Serialprintf ... more

Files at this revision

API Documentation at this revision

Comitter:
hudakz
Date:
Fri Oct 23 19:51:51 2015 +0000
Parent:
6:c5a40d5fd9f1
Child:
8:5c90d6b9a382
Commit message:
Automatic recovery from bus-off state added (defaults to enabled).

Changed in this revision

stm32f1xx_hal_msp.c Show annotated file Show diff for this revision Revisions of this file
--- a/stm32f1xx_hal_msp.c	Fri Oct 23 19:45:00 2015 +0000
+++ b/stm32f1xx_hal_msp.c	Fri Oct 23 19:51:51 2015 +0000
@@ -67,7 +67,7 @@
     _canHandle.pRxMsg = &_canRxMsg;
 
     _canHandle.Init.TTCM = DISABLE;
-    _canHandle.Init.ABOM = DISABLE;
+    _canHandle.Init.ABOM = abom;
     _canHandle.Init.AWUM = DISABLE;
     _canHandle.Init.NART = DISABLE;
     _canHandle.Init.RFLM = DISABLE;
@@ -247,4 +247,3 @@
     // Enable FIFO 0 message pending Interrupt
     __HAL_CAN_ENABLE_IT(_canHandle, CAN_IT_FMP0);
 }
-