diff options
| author | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-05-09 18:00:52 +0200 |
| commit | 6c286e3b027a4873ba70961f48c52f61d3367187 (patch) | |
| tree | af1aa6892f5a0c5107bc9c8161d9084bcc915435 /examples/host/bare_api/src/main.c | |
| parent | 337d03d36883c5067d102900e6ce14e98ce3f8f0 (diff) | |
| parent | 63e64f374bf2023261bcf6733fdf53a73ccca6e6 (diff) | |
Merge branch 'master' into patch-5
Diffstat (limited to 'examples/host/bare_api/src/main.c')
| -rw-r--r-- | examples/host/bare_api/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/host/bare_api/src/main.c b/examples/host/bare_api/src/main.c index 14725996d..670e58498 100644 --- a/examples/host/bare_api/src/main.c +++ b/examples/host/bare_api/src/main.c @@ -34,6 +34,7 @@ #include "bsp/board_api.h" #include "tusb.h" +#include "class/hid/hid.h" // English #define LANGUAGE_ID 0x0409 @@ -420,5 +421,5 @@ static void print_utf16(uint16_t *temp_buf, size_t buf_len) { _convert_utf16le_to_utf8(temp_buf + 1, utf16_len, (uint8_t *) temp_buf, sizeof(uint16_t) * buf_len); ((uint8_t*) temp_buf)[utf8_len] = '\0'; - printf((char*)temp_buf); + printf("%s", (char*)temp_buf); } |
