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