diff options
author | Dean Camera <[email protected]> | 2009-08-02 23:14:30 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2009-08-02 23:14:30 +0000 |
commit | 6f4cc344ab47b720651e5bbf7674951c32e210b1 (patch) | |
tree | c004a065e075faa73c78c16ee02399e320b5cf1f /LUFA/Drivers/USB/Class/Device | |
parent | bbf89d81fa225fedc5ab1190ebfa8c775612178c (diff) | |
download | qmk_firmware-6f4cc344ab47b720651e5bbf7674951c32e210b1.tar.gz qmk_firmware-6f4cc344ab47b720651e5bbf7674951c32e210b1.zip |
Rename TOTAL_NUM_CONFIGURATIONS to FIXED_NUM_CONFIGURATIONS, to match the existing FIXED_CONTROL_ENDPOINT_SIZE compile time option. Add FIXED_NUM_CONFIGURATIONS to the descriptors of each project using the option.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/HID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/HID.c b/LUFA/Drivers/USB/Class/Device/HID.c index fbb45acd2a..40f7d2f498 100644 --- a/LUFA/Drivers/USB/Class/Device/HID.c +++ b/LUFA/Drivers/USB/Class/Device/HID.c @@ -136,8 +136,8 @@ void HID_Device_ProcessControlPacket(USB_ClassInfo_HID_Device_t* const HIDInterf bool HID_Device_ConfigureEndpoints(USB_ClassInfo_HID_Device_t* const HIDInterfaceInfo)
{
memset(&HIDInterfaceInfo->State, 0x00, sizeof(HIDInterfaceInfo->State));
- HIDInterfaceInfo->State.IdleCount = 500;
HIDInterfaceInfo->State.UsingReportProtocol = true;
+ HIDInterfaceInfo->State.IdleCount = 500;
if (!(Endpoint_ConfigureEndpoint(HIDInterfaceInfo->Config.ReportINEndpointNumber, EP_TYPE_INTERRUPT,
ENDPOINT_DIR_IN, HIDInterfaceInfo->Config.ReportINEndpointSize, ENDPOINT_BANK_SINGLE)))
|