Skip to content

Commit 0ba3742

Browse files
committed
update(common/usb_memcpy): add CONFIG_USB_MEMCPY_DISABLE macro
Signed-off-by: sakumisu <[email protected]>
1 parent 7affefe commit 0ba3742

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common/usb_memcpy.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ static inline void *usb_memcpy(void *s1, const void *s2, size_t n)
8989
return s1;
9090
}
9191

92+
#ifndef CONFIG_USB_MEMCPY_DISABLE
9293
#define memcpy usb_memcpy
94+
#endif
9395

9496
#endif

0 commit comments

Comments
 (0)