X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/3bd6336075b200fdc0d16cdf80aaf55614854c1d..0210fa5648b1ed65caa384f966ac40b4ecc489ae:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c?ds=inline diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c index 818acac4c..35bfcdd02 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);