aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete
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/Incomplete
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/Incomplete')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/BluetoothHCICommands.c1
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/ConfigDescriptor.c3
2 files changed, 0 insertions, 4 deletions
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);
}