Remove remainder of data pipe interrupt management code from the host demos.

This commit is contained in:
Dean Camera 2009-05-12 12:59:57 +00:00
parent 958a1b4e2b
commit da007db18d
3 changed files with 0 additions and 21 deletions

View File

@ -103,13 +103,6 @@ uint8_t ProcessConfigurationDescriptor(void)
Pipe_SetInfiniteINRequests(); 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); FoundEndpoints |= (1 << HID_DATA_IN_PIPE);
} }
else else

View File

@ -92,13 +92,6 @@ uint8_t ProcessConfigurationDescriptor(void)
Pipe_SetInfiniteINRequests(); 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 */ /* Valid data found, return success */
return SuccessfulConfigRead; return SuccessfulConfigRead;
} }

View File

@ -92,13 +92,6 @@ uint8_t ProcessConfigurationDescriptor(void)
Pipe_SetInfiniteINRequests(); 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 */ /* Valid data found, return success */
return SuccessfulConfigRead; return SuccessfulConfigRead;
} }