summaryrefslogtreecommitdiff
path: root/bsp/stm32/libraries
diff options
context:
space:
mode:
author杨连钊 <[email protected]>2019-02-27 12:20:52 +0800
committer杨连钊 <[email protected]>2019-02-27 12:20:52 +0800
commit0b63d834855668b1306ef19e7c8b341c5dac5bbb (patch)
tree711da25350e4b06e0d54e5c530c097937626c70a /bsp/stm32/libraries
parent5795a34d186d56dbb256b1a60bdf18d4289cfaf9 (diff)
[bsp][stm32][stm32f103-fire-arbitrary] 优化代码
Diffstat (limited to 'bsp/stm32/libraries')
-rw-r--r--bsp/stm32/libraries/HAL_Drivers/drv_can.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drv_can.h b/bsp/stm32/libraries/HAL_Drivers/drv_can.h
index 7cde5d3882..ba28e6c846 100644
--- a/bsp/stm32/libraries/HAL_Drivers/drv_can.h
+++ b/bsp/stm32/libraries/HAL_Drivers/drv_can.h
@@ -10,8 +10,8 @@
* 2019-01-26 YLZ redefine `struct stm32_drv_can` add member `Rx1Message`
* 2019-02-19 YLZ port to BSP [stm32]
*/
-#ifndef __CAN_H__
-#define __CAN_H__
+#ifndef __DRV_CAN_H__
+#define __DRV_CAN_H__
#include "board.h"
#include <rtdevice.h>
#include <rthw.h>
@@ -49,4 +49,4 @@ extern int rt_hw_can_init(void);
#ifdef __cplusplus
}
#endif
-#endif /*__CAN_H__ */
+#endif /*__DRV_CAN_H__ */