Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-dev by
Diff: targets/TARGET_STM/TARGET_STM32F1/can_device.h
- Revision:
- 178:79309dc6340a
- Parent:
- 167:e84263d55307
diff -r d650f5d4c87a -r 79309dc6340a targets/TARGET_STM/TARGET_STM32F1/can_device.h --- a/targets/TARGET_STM/TARGET_STM32F1/can_device.h Wed Nov 08 13:50:44 2017 +0000 +++ b/targets/TARGET_STM/TARGET_STM32F1/can_device.h Thu Nov 23 11:57:25 2017 +0000 @@ -17,7 +17,7 @@ #define MBED_CAN_DEVICE_H #include "cmsis.h" -#include "stm32f1xx_hal.h" +#include "stm32f1xx.h" #ifdef __cplusplus extern "C" { @@ -25,7 +25,7 @@ #ifdef DEVICE_CAN -#define CAN_NUM 1 // Number of CAN peripherals present in the STM32 serie +#define CAN_NUM 1 // Number of CAN peripherals present in the STM32 serie #define CAN1_IRQ_RX_IRQN CAN1_RX0_IRQn #define CAN1_IRQ_RX_VECT CAN1_RX0_IRQHandler