diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-18 12:10:30 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-04-18 12:10:30 +0000 |
commit | fc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch) | |
tree | bc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | |
parent | 55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff) | |
download | lufa-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/BluetoothStack.h')
-rw-r--r-- | Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.h index 88cc02035..a97ac089a 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;
|