浏览代码

Merge pull request #4092 from DavidLin1577/patch-1

[bsp/drivers]Update vbus_hw.h
Bernard Xiong 4 年之前
父节点
当前提交
dfa99ad165
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 5 0
      bsp/lpc43xx/M0/applications/vbus_hw.h
  2. 5 0
      bsp/lpc43xx/M4/applications/vbus_hw.h

+ 5 - 0
bsp/lpc43xx/M0/applications/vbus_hw.h

@@ -7,6 +7,9 @@
  * 2015-01-07     Grissiom     init commit
  */
 
+#ifndef __VBUS_HW_H__
+#define __VBUS_HW_H__
+
 #include <rtthread.h>
 #include <board.h>
 
@@ -32,3 +35,5 @@ rt_inline void rt_vbus_smp_mb(void)
 {
     __DSB();
 }
+
+#endif /* __VBUS_HW_H__ */

+ 5 - 0
bsp/lpc43xx/M4/applications/vbus_hw.h

@@ -7,6 +7,9 @@
  * 2015-01-07     Grissiom     init commit
  */
 
+#ifndef __VBUS_HW_H__
+#define __VBUS_HW_H__
+
 #include <rtthread.h>
 #include <board.h>
 
@@ -32,3 +35,5 @@ rt_inline void rt_vbus_smp_mb(void)
 {
     __DSB();
 }
+
+#endif /* __VBUS_HW_H__ */