projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Combined Keyboad and Mouse normal and interrupt driven host demos into unified Keyboa...
[pub/lufa.git]
/
Demos
/
MouseHost
/
ConfigDescriptor.c
diff --git
a/Demos/MouseHost/ConfigDescriptor.c
b/Demos/MouseHost/ConfigDescriptor.c
index
645f6c8
..
b45cc64
100644
(file)
--- 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);
\r
\r
Pipe_SetInfiniteINRequests();
\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
Pipe_Unfreeze();
\r
\r
/* Valid data found, return success */
\r