diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-12 12:59:57 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-05-12 12:59:57 +0000 |
commit | da007db18d255d907938e6759735d75287b4862a (patch) | |
tree | 452dab82e852eef51ed67bc4ed4a83a2cc14d5f6 /Demos/Host | |
parent | 958a1b4e2bffdc548b34edd322d30cec5d5feacd (diff) | |
download | lufa-da007db18d255d907938e6759735d75287b4862a.tar.gz lufa-da007db18d255d907938e6759735d75287b4862a.tar.bz2 lufa-da007db18d255d907938e6759735d75287b4862a.zip |
Remove remainder of data pipe interrupt management code from the host demos.
Diffstat (limited to 'Demos/Host')
-rw-r--r-- | Demos/Host/GenericHIDHost/ConfigDescriptor.c | 7 | ||||
-rw-r--r-- | Demos/Host/KeyboardHost/ConfigDescriptor.c | 7 | ||||
-rw-r--r-- | Demos/Host/MouseHost/ConfigDescriptor.c | 7 |
3 files changed, 0 insertions, 21 deletions
diff --git a/Demos/Host/GenericHIDHost/ConfigDescriptor.c b/Demos/Host/GenericHIDHost/ConfigDescriptor.c index 7dc7d3e87..ef99359a9 100644 --- a/Demos/Host/GenericHIDHost/ConfigDescriptor.c +++ b/Demos/Host/GenericHIDHost/ConfigDescriptor.c @@ -102,13 +102,6 @@ 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
FoundEndpoints |= (1 << HID_DATA_IN_PIPE);
}
diff --git a/Demos/Host/KeyboardHost/ConfigDescriptor.c b/Demos/Host/KeyboardHost/ConfigDescriptor.c index 0b475bfaa..303f06dc1 100644 --- a/Demos/Host/KeyboardHost/ConfigDescriptor.c +++ b/Demos/Host/KeyboardHost/ConfigDescriptor.c @@ -91,13 +91,6 @@ 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
/* Valid data found, return success */
return SuccessfulConfigRead;
diff --git a/Demos/Host/MouseHost/ConfigDescriptor.c b/Demos/Host/MouseHost/ConfigDescriptor.c index ef53e7c42..f29eda16e 100644 --- a/Demos/Host/MouseHost/ConfigDescriptor.c +++ b/Demos/Host/MouseHost/ConfigDescriptor.c @@ -91,13 +91,6 @@ 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
/* Valid data found, return success */
return SuccessfulConfigRead;
|