forked from mfulz_github/qmk_firmware
Remove remainder of data pipe interrupt management code from the host demos.
This commit is contained in:
parent
958a1b4e2b
commit
da007db18d
|
@ -102,13 +102,6 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||||
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
||||||
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,13 +91,6 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||||
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
||||||
|
|
||||||
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;
|
||||||
|
|
|
@ -91,13 +91,6 @@ uint8_t ProcessConfigurationDescriptor(void)
|
||||||
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue