diff options
| author | hathach <[email protected]> | 2018-07-23 16:12:14 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-23 16:12:14 +0700 |
| commit | 262be103e0478fc70fcc4e392c5ad1ad60bc074b (patch) | |
| tree | 765fd70f974feaf30e7f357a7316130c5aaea0c6 /src/device/usbd.h | |
| parent | 2bff2a7d9751313bee07605f3db7982fa025a317 (diff) | |
add descriptor string count for tud_desc_set_t
Diffstat (limited to 'src/device/usbd.h')
| -rw-r--r-- | src/device/usbd.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h index c2b05f8ff..8413aa15e 100644 --- a/src/device/usbd.h +++ b/src/device/usbd.h @@ -59,9 +59,11 @@ /// \brief Descriptor pointer collector to all the needed.
typedef struct {
- void const * device; ///< pointer to device descriptor \ref tusb_desc_device_t
- uint8_t const * config; ///< pointer to the whole configuration descriptor, starting by \ref tusb_desc_configuration_t
- uint8_t const** string_arr; ///< a array of pointers to string descriptors
+ uint8_t const * device; ///< pointer to device descriptor \ref tusb_desc_device_t
+ uint8_t const * config; ///< pointer to the whole configuration descriptor, starting by \ref tusb_desc_configuration_t
+
+ uint8_t const** string_arr; ///< a array of pointers to string descriptors
+ uint16_t string_count;
struct {
uint8_t const* composite;
|
