test
Fork of CANnucleo by
Diff: stm32f1xx_hal_msp.c
- Revision:
- 14:0344705e6fb8
- Parent:
- 12:c45310ff2233
- Child:
- 16:f4c8f45bded9
--- a/stm32f1xx_hal_msp.c Wed Dec 23 10:37:01 2015 +0000 +++ b/stm32f1xx_hal_msp.c Sun Dec 27 09:02:47 2015 +0000 @@ -39,7 +39,7 @@ ****************************************************************************** */ #if defined(TARGET_NUCLEO_F103RB) -#include "stm32f1xx_hal.h" + #include "can_api.h" #include "pinmap.h" @@ -63,7 +63,7 @@ _rxPin = rxPin; _txPin = txPin; - _canHandle.Instance = ((CAN_TypeDef *) CAN1_BASE); + _canHandle.Instance = ((CAN_TypeDef*)CAN1_BASE); _canHandle.pTxMsg = &_canTxMsg; _canHandle.pRxMsg = &_canRxMsg;