Add const keyword to the demo function parameters where possible.
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothHCICommands.c
index 2e5e4f7..55c7518 100644 (file)
@@ -317,7 +317,7 @@ void Bluetooth_HCITask(void)
  *\r
  *  \return A value from the USB_Host_SendControlErrorCodes_t enum.\r
  */\r
-static uint8_t Bluetooth_SendHCICommand(BT_HCICommand_Header_t* HCICommandHeader, void* Parameters, uint16_t ParameterLength)\r
+static uint8_t Bluetooth_SendHCICommand(const BT_HCICommand_Header_t* const HCICommandHeader, const void* Parameters, const uint16_t ParameterLength)\r
 {\r
        /* Need to reserve the amount of bytes given in the header for the complete payload */\r
        uint8_t CommandBuffer[sizeof(BT_HCICommand_Header_t) + HCICommandHeader->ParameterLength];\r