Skip to content

Commit dfa99ad

Browse files
authored
Merge pull request #4092 from DavidLin1577/patch-1
[bsp/drivers]Update vbus_hw.h
2 parents 26c8018 + 95c76c6 commit dfa99ad

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

bsp/lpc43xx/M0/applications/vbus_hw.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* 2015-01-07 Grissiom init commit
88
*/
99

10+
#ifndef __VBUS_HW_H__
11+
#define __VBUS_HW_H__
12+
1013
#include <rtthread.h>
1114
#include <board.h>
1215

@@ -32,3 +35,5 @@ rt_inline void rt_vbus_smp_mb(void)
3235
{
3336
__DSB();
3437
}
38+
39+
#endif /* __VBUS_HW_H__ */

bsp/lpc43xx/M4/applications/vbus_hw.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* 2015-01-07 Grissiom init commit
88
*/
99

10+
#ifndef __VBUS_HW_H__
11+
#define __VBUS_HW_H__
12+
1013
#include <rtthread.h>
1114
#include <board.h>
1215

@@ -32,3 +35,5 @@ rt_inline void rt_vbus_smp_mb(void)
3235
{
3336
__DSB();
3437
}
38+
39+
#endif /* __VBUS_HW_H__ */

0 commit comments

Comments
 (0)