Skip to content

Commit 54f4fda

Browse files
committed
sync with tinyusb master
1 parent cb735ea commit 54f4fda

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/tinyusb

Submodule tinyusb updated 467 files

src/usb/usb_desc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,10 @@ static uint16_t _desc_str[64+1];
150150

151151
// Invoked when received GET STRING DESCRIPTOR request
152152
// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
153-
uint16_t const* tud_descriptor_string_cb(uint8_t index)
153+
uint16_t const* tud_descriptor_string_cb(uint8_t index, uint16_t langid)
154154
{
155+
(void) langid;
156+
155157
uint8_t chr_count;
156158

157159
if ( index == 0)

0 commit comments

Comments
 (0)