X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/ee7bd5685e000b3a128069fd75d436c653ab54b2..ecf7538430c01b95104682f0f7493e57b9168125:/Demos/MouseHost/ConfigDescriptor.c?ds=inline 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 */