diff options
| author | Chang Feng <[email protected]> | 2020-02-26 13:07:15 +0800 |
|---|---|---|
| committer | Chang Feng <[email protected]> | 2020-02-26 13:07:15 +0800 |
| commit | b8ea0f0a6b11bff6a4bb3f63f09485b2445969de (patch) | |
| tree | 5aed609c92f91380142ee7ea0b66bcdab5dbb60b /src/device/usbd.h | |
| parent | cb3de676635948f46a8dda93330ccc7fbbcb3e5d (diff) | |
Add langid support to descriptor string callback.
Signed-off-by: Chang Feng <[email protected]>
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index 847251caa..d80abf17c 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -91,7 +91,7 @@ uint8_t const * tud_descriptor_configuration_cb(uint8_t index); // 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); // Invoked when device is mounted (configured) TU_ATTR_WEAK void tud_mount_cb(void); |
