diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-06-05 12:21:52 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2011-06-05 12:21:52 +0000 |
| commit | 00a54a0cea06ba0b8c367c549e015024e9ae14f1 (patch) | |
| tree | 1896eaf345ae2431eb20c761178d6342593793d9 /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c | |
| parent | c79c045efd76a2588bed32563844ccf4380a1e1d (diff) | |
Fixed compile errors in the incomplete BluetoothHost demo application (thanks to Timo Lindfors).
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1781 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c')
| -rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c index 818acac4..35bfcdd0 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c @@ -65,13 +65,13 @@ void Bluetooth_HCITask(void) BT_HCIEvent_Header_t HCIEventHeader; /* Read in the event header to fetch the event code and payload length */ - Pipe_Read_Stream_LE(&HCIEventHeader, sizeof(HCIEventHeader)); + Pipe_Read_Stream_LE(&HCIEventHeader, sizeof(HCIEventHeader), NULL); /* Create a temporary buffer for the event parameters */ uint8_t EventParams[HCIEventHeader.ParameterLength]; /* Read in the event parameters into the temporary buffer */ - Pipe_Read_Stream_LE(&EventParams, HCIEventHeader.ParameterLength); + Pipe_Read_Stream_LE(&EventParams, HCIEventHeader.ParameterLength, NULL); Pipe_ClearIN(); BT_HCI_DEBUG(1, "Event Received (0x%02X)", HCIEventHeader.EventCode); |
