*\r
* This routine searches for a SI interface descriptor containing bulk IN and OUT data endpoints.\r
*\r
- * \return An error code from the StillImageHost_GetConfigDescriptorDataCodes_t enum.\r
+ * \return An error code from the \ref StillImageHost_GetConfigDescriptorDataCodes_t enum.\r
*/\r
uint8_t ProcessConfigurationDescriptor(void)\r
{\r
return NoEndpointFound;\r
}\r
\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
/* Check if the found endpoint is a interrupt or bulk type descriptor */\r
if ((EndpointData->Attributes & EP_TYPE_MASK) == EP_TYPE_INTERRUPT)\r