+ /* If/Else If chain compiles slightly smaller than a switch case */\r
+\r
+ if (DescriptorType == DTYPE_Device)\r
+ {\r
+ Address = (void*)&DeviceDescriptor;\r
+ Size = sizeof(USB_Descriptor_Device_t); \r
+ }\r
+ else if (DescriptorType == DTYPE_Device)\r
+ {\r
+ Address = (void*)&ConfigurationDescriptor;\r
+ Size = sizeof(USB_Descriptor_Configuration_t); \r
+ }\r
+ else if (DescriptorType == DTYPE_HID)\r
+ {\r
+ Address = (void*)&ConfigurationDescriptor.HID_VendorHID;\r
+ Size = sizeof(USB_Descriptor_HID_t);\r
+ }\r
+ else\r