summaryrefslogtreecommitdiff
path: root/tusb_helpers.h.gen
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-16 02:49:13 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-16 02:49:13 -0600
commit93f054683dd5fc5b79541f4922cb34a38cb5c341 (patch)
tree5fed989181dbf1c7714c6c4fe7b910344e8ba30d /tusb_helpers.h.gen
parent7c30fe0be98a3028964d437f5c31cc968fbf9755 (diff)
keyboard hello world?
Diffstat (limited to 'tusb_helpers.h.gen')
-rwxr-xr-xtusb_helpers.h.gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/tusb_helpers.h.gen b/tusb_helpers.h.gen
index 4682166..8ef83c8 100755
--- a/tusb_helpers.h.gen
+++ b/tusb_helpers.h.gen
@@ -77,7 +77,7 @@ cat <<'EOT'
#define UTF16(str) u ## str
-static inline size_t utf16_strncpy(uint16_t *dst, uint16_t *src, dsize size_t) {
+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];