From a3a04aa6719a891a1350179d5ac451c3e18c3bf2 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 23 Jun 2009 08:03:09 +0000 Subject: 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. --- Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c | 1 - Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c | 3 --- 2 files changed, 4 deletions(-) (limited to 'Demos/Host/Incomplete') diff --git a/Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c b/Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c index d865edefe..ddd159ef7 100644 --- a/Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c +++ b/Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c @@ -96,7 +96,6 @@ void Bluetooth_ProcessHCICommands(void) { case Bluetooth_Init: Pipe_SelectPipe(BLUETOOTH_EVENTS_PIPE); - Pipe_SetInfiniteINRequests(); memset(&Bluetooth_Connection, 0x00, sizeof(Bluetooth_Connection)); diff --git a/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c b/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c index 8d66ebc04..948c4fcc6 100644 --- a/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c +++ b/Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c @@ -86,7 +86,6 @@ uint8_t ProcessConfigurationDescriptor(void) EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE); - Pipe_SetInfiniteINRequests(); Pipe_SetInterruptPeriod(EndpointData->PollingIntervalMS); /* Set the flag indicating that the events notification pipe has been found */ @@ -102,8 +101,6 @@ uint8_t ProcessConfigurationDescriptor(void) EndpointData->EndpointAddress, EndpointData->EndpointSize, PIPE_BANK_SINGLE); - Pipe_SetInfiniteINRequests(); - /* Set the flag indicating that the data IN pipe has been found */ FoundEndpoints |= (1 << BLUETOOTH_DATA_IN_PIPE); } -- cgit v1.2.3