From fc8e4837a936bb1b4bd19bdd54660878b3efe02c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 18 Apr 2010 12:10:30 +0000 Subject: Add const keyword to the demo function parameters where possible. --- Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h') diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h index 88cc020356..a97ac089a5 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h @@ -124,15 +124,15 @@ void Bluetooth_Stack_Init(void); void Bluetooth_Stack_USBTask(void); - bool Bluetooth_ConnectionRequest(uint8_t* RemoteAddress); + bool Bluetooth_ConnectionRequest(const uint8_t* RemoteAddress); void Bluetooth_ConnectionComplete(void); void Bluetooth_DisconnectionComplete(void); - bool Bluetooth_ChannelConnectionRequest(uint16_t PSM); - void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel); - Bluetooth_Channel_t* Bluetooth_GetChannelData(uint16_t ChannelNumber, bool SearchByRemoteChannel); - Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM); - void Bluetooth_CloseChannel(Bluetooth_Channel_t* Channel); - uint8_t Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* Channel); + bool Bluetooth_ChannelConnectionRequest(const uint16_t PSM); + void Bluetooth_PacketReceived(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel); + Bluetooth_Channel_t* Bluetooth_GetChannelData(const uint16_t ChannelNumber, const bool SearchByRemoteChannel); + Bluetooth_Channel_t* Bluetooth_OpenChannel(const uint16_t PSM); + void Bluetooth_CloseChannel(Bluetooth_Channel_t* const Channel); + uint8_t Bluetooth_SendPacket(void* Data, uint16_t DataLen, Bluetooth_Channel_t* const Channel); /* External Variables: */ extern Bluetooth_Device_t Bluetooth_DeviceConfiguration; -- cgit v1.2.3