aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/CDCHost
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-23 08:03:09 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-23 08:03:09 +0000
commita3a04aa6719a891a1350179d5ac451c3e18c3bf2 (patch)
treed3d73e56fe2f3aef176106780e875940c0c8b35d /Demos/Host/LowLevel/CDCHost
parent7f81803aaa312d589f79a77d1426150dcceb29f7 (diff)
downloadlufa-a3a04aa6719a891a1350179d5ac451c3e18c3bf2.tar.gz
lufa-a3a04aa6719a891a1350179d5ac451c3e18c3bf2.tar.bz2
lufa-a3a04aa6719a891a1350179d5ac451c3e18c3bf2.zip
Pipe_ConfigurePipe() now automatically defaults IN pipes to accepting infinite IN requests, this can still be changed by calling the existing \ref Pipe_SetFiniteINRequests() function.
Diffstat (limited to 'Demos/Host/LowLevel/CDCHost')
-rw-r--r--Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c b/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
index 33234e4fd..f1a57cd74 100644
--- a/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
+++ b/Demos/Host/LowLevel/CDCHost/ConfigDescriptor.c
@@ -138,7 +138,6 @@ uint8_t ProcessConfigurationDescriptor(void)
Pipe_ConfigurePipe(CDC_NOTIFICATIONPIPE, EP_TYPE_INTERRUPT, PIPE_TOKEN_IN,
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
- Pipe_SetInfiniteINRequests();
Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS);
/* Set the flag indicating that the notification pipe has been found */
@@ -153,8 +152,6 @@ uint8_t ProcessConfigurationDescriptor(void)
/* Configure the data IN pipe */
Pipe_ConfigurePipe(CDC_DATAPIPE_IN, EP_TYPE_BULK, PIPE_TOKEN_IN,
EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE);
-
- Pipe_SetInfiniteINRequests();
/* Set the flag indicating that the data IN pipe has been found */
FoundEndpoints |= (1 << CDC_DATAPIPE_IN);