diff options
| author | hathach <[email protected]> | 2019-05-12 19:55:15 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-05-12 19:55:15 +0700 |
| commit | f3a5ea65a9869b8d3bc305165b943922b50108f4 (patch) | |
| tree | ffd5e6092f85c60be9693c70a30e26c63f57d1ad /src/device/usbd.h | |
| parent | 1174949308bb7595e99fd5789ebf3466cf2ab123 (diff) | |
add index to tud_descriptor_configuration_cb()
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 8193c4ce0..2e34b25ac 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -69,7 +69,7 @@ uint8_t const * tud_descriptor_device_cb(void); // Invoked when received GET CONFIGURATION DESCRIPTOR request
// Application return pointer to descriptor, whose contents must exist long enough for transfer to complete
-uint8_t const * tud_descriptor_configuration_cb(void);
+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
|
