diff options
author | Dean Camera <[email protected]> | 2010-04-18 12:10:30 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-04-18 12:10:30 +0000 |
commit | fc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch) | |
tree | bc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothHCICommands.c | |
parent | 55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff) | |
download | qmk_firmware-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.gz qmk_firmware-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.c | 2 |
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 2e5e4f7e39..55c7518144 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];
|