diff options
| author | sakumisu <[email protected]> | 2024-06-17 21:09:06 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-06-17 21:09:06 +0800 |
| commit | 0cb245e6d322eb4ede25c11e2adfd5b3cbbbdf29 (patch) | |
| tree | abec8988fc96e01399471631e43d1130668f4356 | |
| parent | 556bf918795e78829797b8146e453a408e326fd5 (diff) | |
fix(common/usb_memcpy): fix missing USB_MEMCPY_H
| -rw-r--r-- | common/usb_memcpy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/usb_memcpy.h b/common/usb_memcpy.h index 064de3da..e3cc7a24 100644 --- a/common/usb_memcpy.h +++ b/common/usb_memcpy.h @@ -3,6 +3,9 @@ * * SPDX-License-Identifier: Apache-2.0 */ +#ifndef USB_MEMCPY_H +#define USB_MEMCPY_H + #include <stdint.h> #include <stddef.h> @@ -84,4 +87,5 @@ static inline void *usb_memcpy(void *s1, const void *s2, size_t n) } } return s1; -}
\ No newline at end of file +} +#endif |
