From 82634b3b8eabcc966c5480c4a58b81dbcb49d022 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Tue, 17 Sep 2024 10:38:00 -0600 Subject: fix --- tusb_helpers.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tusb_helpers.h') diff --git a/tusb_helpers.h b/tusb_helpers.h index 0e04988..cd96357 100644 --- a/tusb_helpers.h +++ b/tusb_helpers.h @@ -966,13 +966,6 @@ #define TUD_ENDPOINT_OUT 0x00 #define TUD_ENDPOINT_IN 0x80 -#define UTF16(str) u ## str - -static inline size_t utf16_strncpy(uint16_t *dst, uint16_t *src, size_t dsize) { - size_t i; - for (i = 0; i < dsize && src && src[i]; i++) - dst[i] = src[i]; - return i; -} +#define TU_UTF16(str) u ## str #endif /* _USB_HELPERS_H_ */ -- cgit v1.2.3-2-g168b