summaryrefslogtreecommitdiff
path: root/src/device/usbd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-08-01 00:50:04 +0700
committerhathach <[email protected]>2018-08-01 00:50:04 +0700
commit6d96b12e27ae60ca500365ee2137105145ada9dd (patch)
tree9c4435313a565499ba35184525589b4b0b9b4218 /src/device/usbd.h
parent9444d45af6dfff6a34ac290cf5a221abd0c2529b (diff)
improve auto descriptor
Diffstat (limited to 'src/device/usbd.h')
-rw-r--r--src/device/usbd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/usbd.h b/src/device/usbd.h
index 8ef1209e1..1e59c0a7e 100644
--- a/src/device/usbd.h
+++ b/src/device/usbd.h
@@ -59,8 +59,8 @@
/// \brief Descriptor pointer collector to all the needed.
typedef struct {
- 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
+ void const * device; ///< pointer to device descriptor \ref tusb_desc_device_t
+ void 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;