Add langid to example cdc_msc.

Signed-off-by: Chang Feng <chang_196700@hotmail.com>
This commit is contained in:
Chang Feng 2020-02-26 13:14:04 +08:00
parent 5c760e1f74
commit 75afeb1266
No known key found for this signature in database
GPG Key ID: 53B7EB37064323EF

View File

@ -155,8 +155,10 @@ static uint16_t _desc_str[32];
// Invoked when received GET STRING DESCRIPTOR request
// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
uint16_t const* tud_descriptor_string_cb(uint8_t index)
uint16_t const* tud_descriptor_string_cb(uint8_t index, uint16_t langid)
{
(void) langid;
uint8_t chr_count;
if ( index == 0)