Procházet zdrojové kódy

Merge pull request #4092 from DavidLin1577/patch-1

[bsp/drivers]Update vbus_hw.h
Bernard Xiong před 4 roky
rodič
revize
dfa99ad165

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

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

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

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