aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/GenericHID/Descriptors.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Device/GenericHID/Descriptors.c')
-rw-r--r--Demos/Device/GenericHID/Descriptors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/GenericHID/Descriptors.c b/Demos/Device/GenericHID/Descriptors.c
index 9b87a0484..30b0c5365 100644
--- a/Demos/Device/GenericHID/Descriptors.c
+++ b/Demos/Device/GenericHID/Descriptors.c
@@ -77,7 +77,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = 0x00,
.Protocol = 0x00,
- .Endpoint0Size = 8,
+ .Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
.VendorID = 0x03EB,
.ProductID = 0x204F,