diff options
Diffstat (limited to 'Demos/MouseHost/ConfigDescriptor.c')
-rw-r--r-- | Demos/MouseHost/ConfigDescriptor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Demos/MouseHost/ConfigDescriptor.c b/Demos/MouseHost/ConfigDescriptor.c index 645f6c802..b45cc6452 100644 --- a/Demos/MouseHost/ConfigDescriptor.c +++ b/Demos/MouseHost/ConfigDescriptor.c @@ -91,6 +91,14 @@ uint8_t ProcessConfigurationDescriptor(void) EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
Pipe_SetInfiniteINRequests();
+
+ #if defined(INTERRUPT_DATA_PIPE)
+ Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
+
+ /* Enable the pipe IN interrupt for the data pipe */
+ USB_INT_Enable(PIPE_INT_IN);
+ #endif
+
Pipe_Unfreeze();
/* Valid data found, return success */
|