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 #include @@ -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 #include @@ -32,3 +35,5 @@ rt_inline void rt_vbus_smp_mb(void) { __DSB(); } + +#endif /* __VBUS_HW_H__ */