diff options
| author | HiFiPhile <[email protected]> | 2024-04-28 19:44:10 +0200 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2024-04-28 19:46:00 +0200 |
| commit | a29852320a519c34878797a3e0d6a6a8f2e44d6e (patch) | |
| tree | fbc4d64c3a3b296dd49e65e7df3892299a37c49c /examples/host/bare_api/src/main.c | |
| parent | f1d3663d24f04dbb68732f8287c516abd0b7ecfb (diff) | |
| parent | 1c04d5992a020aefe16ffb2acce62d84d4899395 (diff) | |
Merge remote-tracking branch 'upstream/master' into pr/2227
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); } |
