summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2020-11-27 09:28:42 +0800
committerGitHub <[email protected]>2020-11-27 09:28:42 +0800
commitdfa99ad16546c2b1b03187e634201295606f4246 (patch)
treeb23e789f9ebf2036d82e457f1b97c9426b6ea301
parent26c80186254aa92ab240a7cba7725fbb5b31595b (diff)
parent95c76c6202e7baf88a0ff2188578600144345a43 (diff)
Merge pull request #4092 from DavidLin1577/patch-1
[bsp/drivers]Update vbus_hw.h
-rw-r--r--bsp/lpc43xx/M0/applications/vbus_hw.h5
-rw-r--r--bsp/lpc43xx/M4/applications/vbus_hw.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/bsp/lpc43xx/M0/applications/vbus_hw.h b/bsp/lpc43xx/M0/applications/vbus_hw.h
index cceee706b4..850466cc45 100644
--- a/bsp/lpc43xx/M0/applications/vbus_hw.h
+++ b/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__ */
diff --git a/bsp/lpc43xx/M4/applications/vbus_hw.h b/bsp/lpc43xx/M4/applications/vbus_hw.h
index cceee706b4..850466cc45 100644
--- a/bsp/lpc43xx/M4/applications/vbus_hw.h
+++ b/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__ */