Skip to content
Snippets Groups Projects
Commit da007db1 authored by Dean Camera's avatar Dean Camera
Browse files

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

parent 958a1b4e
No related branches found
No related tags found
No related merge requests found
...@@ -103,13 +103,6 @@ uint8_t ProcessConfigurationDescriptor(void) ...@@ -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
......
...@@ -92,13 +92,6 @@ uint8_t ProcessConfigurationDescriptor(void) ...@@ -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;
} }
......
...@@ -92,13 +92,6 @@ uint8_t ProcessConfigurationDescriptor(void) ...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment