projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add const keyword to the demo function parameters where possible.
[pub/lufa.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
Lib
/
BluetoothStack.c
diff --git
a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
index
3b0b612
..
3d048a8
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothStack.c
@@
-73,7
+73,7
@@
void Bluetooth_Stack_USBTask(void)
*
\r
* \return Pointer to the matching channel information structure in the channel table if found, NULL otherwise
\r
*/
\r
*
\r
* \return Pointer to the matching channel information structure in the channel table if found, NULL otherwise
\r
*/
\r
-Bluetooth_Channel_t* Bluetooth_GetChannelData(
uint16_t ChannelNumber,
bool SearchByRemoteChannel)
\r
+Bluetooth_Channel_t* Bluetooth_GetChannelData(
const uint16_t ChannelNumber, const
bool SearchByRemoteChannel)
\r
{
\r
for (uint8_t i = 0; i < BLUETOOTH_MAX_OPEN_CHANNELS; i++)
\r
{
\r
{
\r
for (uint8_t i = 0; i < BLUETOOTH_MAX_OPEN_CHANNELS; i++)
\r
{
\r