Add new functions to the HID host class driver, refine HID interface protocol matching.
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / CDC.c
index 2985b24..e790e64 100644 (file)
@@ -52,9 +52,9 @@ uint8_t CDC_Host_ConfigurePipes(USB_ClassInfo_CDC_Host_t* CDCInterfaceInfo, uint
        \r
        CDCInterfaceInfo->State.ControlInterfaceNumber =\r
 #if defined(USE_NONSTANDARD_DESCRIPTOR_NAMES)\r
-                         DESCRIPTOR_CAST(ConfigDescriptorData, USB_Descriptor_Interface_t).InterfaceNumber;\r
+                            DESCRIPTOR_CAST(ConfigDescriptorData, USB_Descriptor_Interface_t).InterfaceNumber;\r
 #else\r
-                         DESCRIPTOR_CAST(ConfigDescriptorData, USB_Descriptor_Interface_t).bInterfaceNumber;\r
+                            DESCRIPTOR_CAST(ConfigDescriptorData, USB_Descriptor_Interface_t).bInterfaceNumber;\r
 #endif\r
 \r
        while (FoundEndpoints != (CDC_FOUND_DATAPIPE_IN | CDC_FOUND_DATAPIPE_OUT | CDC_FOUND_DATAPIPE_NOTIFICATION))\r