Update vbus_hw.h

Added define __VBUS_HW_H__
This commit is contained in:
David Lin 2020-11-20 21:44:25 +08:00 committed by GitHub
parent 9dc0bbb814
commit 33098b9294
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -26,6 +26,9 @@
* 2015-01-07 Grissiom init commit
*/
#ifndef __VBUS_HW_H__
#define __VBUS_HW_H__
#include <rtthread.h>
#include <stddef.h>
#include <gic.h>
@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
{
asm volatile ("dsb" : : : "memory");
}
#endif /* __VBUS_HW_H__ */