aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
commitfc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch)
treebc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
parent55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff)
downloadlufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.gz
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.bz2
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.zip
Add const keyword to the demo function parameters where possible.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
index 2e5e4f7e3..55c751814 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c
@@ -317,7 +317,7 @@ void Bluetooth_HCITask(void)
*
* \return A value from the USB_Host_SendControlErrorCodes_t enum.
*/
-static uint8_t Bluetooth_SendHCICommand(BT_HCICommand_Header_t* HCICommandHeader, void* Parameters, uint16_t ParameterLength)
+static uint8_t Bluetooth_SendHCICommand(const BT_HCICommand_Header_t* const HCICommandHeader, const void* Parameters, const uint16_t ParameterLength)
{
/* Need to reserve the amount of bytes given in the header for the complete payload */
uint8_t CommandBuffer[sizeof(BT_HCICommand_Header_t) + HCICommandHeader->ParameterLength];