diff options
| author | Ha Thach <[email protected]> | 2020-03-03 10:03:49 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-03-03 10:03:49 +0700 |
| commit | 43025b2ae395b6f3c3ed725e3c4b31f15786d65e (patch) | |
| tree | 842581ef5fe440cd6c469f2acdb426e97275b416 /examples/device/dfu_rt/src | |
| parent | cb3de676635948f46a8dda93330ccc7fbbcb3e5d (diff) | |
| parent | 8d97e5819287d1317ecd4eeee492f97aa5e820a2 (diff) | |
Merge pull request #286 from chang196700/feature-langid
Add feature: langid Support
Diffstat (limited to 'examples/device/dfu_rt/src')
| -rw-r--r-- | examples/device/dfu_rt/src/usb_descriptors.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/device/dfu_rt/src/usb_descriptors.c b/examples/device/dfu_rt/src/usb_descriptors.c index 0c7081245..17b3fe87d 100644 --- a/examples/device/dfu_rt/src/usb_descriptors.c +++ b/examples/device/dfu_rt/src/usb_descriptors.c @@ -193,8 +193,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; + size_t chr_count; if ( index == 0) |
