aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-07-02 03:06:16 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-07-02 03:06:16 +0000
commit31a34154dbbc20adc523eb08678977d218ae8135 (patch)
tree613bc0069075d8a365a07f60159f2d784c387e1d /Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
parentfbabecee66b93596acc6f99a92be4a9dd3a750ce (diff)
downloadlufa-31a34154dbbc20adc523eb08678977d218ae8135.tar.gz
lufa-31a34154dbbc20adc523eb08678977d218ae8135.tar.bz2
lufa-31a34154dbbc20adc523eb08678977d218ae8135.zip
Move out RFCOMM channel structure init code to a seperate routine, to save on compiled code space and to prevent copy-paste errors.
Diffstat (limited to 'Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h')
-rw-r--r--Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
index e7ed7ecd3..e557858f2 100644
--- a/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
+++ b/Demos/Host/Incomplete/BluetoothHost/Lib/RFCOMM.h
@@ -106,8 +106,9 @@
void RFCOMM_SendChannelSignals(const RFCOMM_Channel_t* const RFCOMMChannel,
Bluetooth_Channel_t* const BluetoothChannel);
- RFCOMM_Channel_t* RFCOMM_GetChannelData(const uint8_t DLCI);
+ RFCOMM_Channel_t* RFCOMM_GetFreeChannelEntry(const uint8_t DLCI);
+ RFCOMM_Channel_t* RFCOMM_GetChannelData(const uint8_t DLCI);
uint16_t RFCOMM_GetVariableFieldValue(const uint8_t** BufferPos);
void RFCOMM_SendFrame(const uint8_t DLCI, const bool CommandResponse, const uint8_t Control,
const uint16_t DataLen, const void* Data, Bluetooth_Channel_t* const Channel);