diff options
| author | HiFiPhile <[email protected]> | 2024-04-26 17:57:53 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-26 17:57:53 +0200 |
| commit | 268cc19f4448438c77f1c4a6a79f1dc9881796c1 (patch) | |
| tree | 0135f047c9c45189d765440efe10492b28bdcff9 /examples/host/bare_api/src/main.c | |
| parent | 4af67dd0078009c1378612440afd5806e84a81c7 (diff) | |
| parent | 085bd3c9d5948e7938e00e3a0c13fa63e9f7f3d4 (diff) | |
Merge remote-tracking branch 'remotes/tinyusb/master' into pr/2253
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); } |
