Completed documentation of the HID device class driver.
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / LowLevel.c
index 346420f..16a50ac 100644 (file)
@@ -206,7 +206,7 @@ void USB_ResetInterface(void)
        {\r
                USB_Descriptor_Device_t* DeviceDescriptorPtr;\r
 \r
-               if (USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DeviceDescriptorPtr) != NO_DESCRIPTOR)\r
+               if (CALLBACK_USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DeviceDescriptorPtr) != NO_DESCRIPTOR)\r
                {                 \r
                        #if defined(USE_RAM_DESCRIPTORS)\r
                                USB_ControlEndpointSize = DeviceDescriptorPtr->Endpoint0Size;\r
@@ -224,7 +224,6 @@ void USB_ResetInterface(void)
        #if defined(USB_DEVICE_ONLY)    \r
        USB_INT_Enable(USB_INT_SUSPEND);\r
        USB_INT_Enable(USB_INT_EORSTI);\r
-\r
        #if defined(CONTROL_ONLY_DEVICE)\r
        UENUM = ENDPOINT_CONTROLEP;\r
        #endif\r