summaryrefslogtreecommitdiff
path: root/protocol/lufa/descriptor.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-04-24 11:26:06 +0900
committertmk <nobody@nowhere>2014-04-24 11:26:06 +0900
commit3c5add5f800daaeaf0abc28eae8b3c244bcc1126 (patch)
treef7d73e5d114e8964e30c32d7a9f66d1ef08eeb22 /protocol/lufa/descriptor.c
parenta5d4a1f3e1f09a79ad949e7e90199548992f0e37 (diff)
Change LUFA build options
Diffstat (limited to 'protocol/lufa/descriptor.c')
-rw-r--r--protocol/lufa/descriptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/lufa/descriptor.c b/protocol/lufa/descriptor.c
index d97f5d86a8..d88b59654c 100644
--- a/protocol/lufa/descriptor.c
+++ b/protocol/lufa/descriptor.c
@@ -235,7 +235,7 @@ const USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.SubClass = USB_CSCP_NoDeviceSubclass,
.Protocol = USB_CSCP_NoDeviceProtocol,
- .Endpoint0Size = 8,
+ .Endpoint0Size = FIXED_CONTROL_ENDPOINT_SIZE,
/* specified in config.h */
.VendorID = VENDOR_ID,
@@ -246,7 +246,7 @@ const USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
.ProductStrIndex = 0x02,
.SerialNumStrIndex = NO_DESCRIPTOR,
- .NumberOfConfigurations = 1
+ .NumberOfConfigurations = FIXED_NUM_CONFIGURATIONS
};
/*******************************************************************************