Oops - with new changes to the way the device Configuration Descriptor is retrieved...
[pub/USBasp.git] / Demos / Host / LowLevel / MouseHost / ConfigDescriptor.c
index 912f146..2e6a4c8 100644 (file)
@@ -81,7 +81,7 @@ uint8_t ProcessConfigurationDescriptor(void)
        }\r
        \r
        /* Retrieve the endpoint address from the endpoint descriptor */\r
        }\r
        \r
        /* Retrieve the endpoint address from the endpoint descriptor */\r
-       USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(ConfigDescriptorData, USB_Descriptor_Endpoint_t);\r
+       USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(CurrConfigLocation, USB_Descriptor_Endpoint_t);\r
 \r
        /* Configure the mouse data pipe */\r
        Pipe_ConfigurePipe(MOUSE_DATAPIPE, EP_TYPE_INTERRUPT, PIPE_TOKEN_IN,\r
 \r
        /* Configure the mouse data pipe */\r
        Pipe_ConfigurePipe(MOUSE_DATAPIPE, EP_TYPE_INTERRUPT, PIPE_TOKEN_IN,\r