uint16_t CurrConfigBytesRem;\r
uint8_t FoundEndpoints = 0;\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */\r
uint16_t CurrConfigBytesRem;\r
uint8_t FoundEndpoints = 0;\r
\r
/* Retrieve the entire configuration descriptor into the allocated buffer */\r
- switch (USB_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))\r
+ switch (USB_Host_GetDeviceConfigDescriptor(1, &CurrConfigBytesRem, ConfigDescriptorData, sizeof(ConfigDescriptorData)))\r
be in the first interface descriptor (interface 0) */\r
USB_GetNextDescriptorOfType(&CurrConfigBytesRem, &CurrConfigLocation, DTYPE_Interface);\r
\r
be in the first interface descriptor (interface 0) */\r
USB_GetNextDescriptorOfType(&CurrConfigBytesRem, &CurrConfigLocation, DTYPE_Interface);\r
\r
\r
/* Check if the endpoint is a bulk or interrupt type endpoint */\r
if ((EndpointData->Attributes & EP_TYPE_MASK) == EP_TYPE_INTERRUPT)\r
\r
/* Check if the endpoint is a bulk or interrupt type endpoint */\r
if ((EndpointData->Attributes & EP_TYPE_MASK) == EP_TYPE_INTERRUPT)\r