Signed-off-by: Chang Feng <chang_196700@hotmail.com>
@@ -184,8 +184,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)
@@ -193,8 +193,10 @@ static uint16_t _desc_str[32];
size_t chr_count;
@@ -134,8 +134,10 @@ static uint16_t _desc_str[32];
@@ -132,8 +132,10 @@ static uint16_t _desc_str[32];
@@ -123,8 +123,10 @@ static uint16_t _desc_str[32];
@@ -121,8 +121,10 @@ static uint16_t _desc_str[32];
@@ -216,8 +216,10 @@ static uint16_t _desc_str[32];
@@ -204,8 +204,10 @@ static uint16_t _desc_str[32];