/* Retrieve the endpoint address from the endpoint descriptor */\r
USB_Descriptor_Endpoint_t* EndpointData = DESCRIPTOR_PCAST(CurrConfigLocation, USB_Descriptor_Endpoint_t);\r
\r
- /* If the endpoint is a IN type endpoint */\r
+ /* Save the endpoint if it is an IN type endpoint */\r
if (EndpointData->EndpointAddress & ENDPOINT_DESCRIPTOR_DIR_IN)\r
DataINEndpoint = EndpointData;\r
}\r
StreamingInterfaceAltSetting = AudioStreamingInterface->AlternateSetting;\r
StreamingEndpointAddress = DataINEndpoint->EndpointAddress;\r
\r
- /* Configure the HID data IN pipe */\r
+ /* Configure the Audio data IN pipe */\r
Pipe_ConfigurePipe(AUDIO_DATA_IN_PIPE, EP_TYPE_ISOCHRONOUS, PIPE_TOKEN_IN,\r
DataINEndpoint->EndpointAddress, DataINEndpoint->EndpointSize, PIPE_BANK_DOUBLE);\r
\r