\r
/* Get the keyboard interface's data endpoint descriptor */\r
if (USB_Host_GetNextDescriptorComp(&ConfigDescriptorSize, &ConfigDescriptorData,\r
- NextInterfaceKeyboardDataEndpoint))\r
+ NextInterfaceKeyboardDataEndpoint))\r
{\r
/* Descriptor not found, error out */\r
return NoEndpointFound;\r
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);\r
\r
Pipe_SetInfiniteINRequests();\r
+\r
+ #if defined(INTERRUPT_DATA_PIPE)\r
+ Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);\r
+\r
+ /* Enable the pipe IN interrupt for the data pipe */\r
+ USB_INT_Enable(PIPE_INT_IN); \r
+ #endif\r
+\r
+ Pipe_Unfreeze();\r
\r
/* Valid data found, return success */\r
return SuccessfulConfigRead;\r