X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/26421b38cd59191cd42d8e6f0d1499c3775e75d7..6cfa3b7db8b5585a8443f457dcb728b65a7f7ffd:/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c?ds=sidebyside diff --git a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c index df831fd0d..45fad7bd7 100644 --- a/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c +++ b/Demos/Host/Incomplete/BluetoothHost/Lib/BluetoothACLPackets.c @@ -208,7 +208,7 @@ Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM) if (Bluetooth_Connection.Channels[i].State == Channel_Closed) { ChannelData = &Bluetooth_Connection.Channels[i]; - ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i); + ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i); break; } } @@ -292,7 +292,7 @@ static inline void Bluetooth_Signal_ConnectionReq(BT_ACL_Header_t* ACLPac if (Bluetooth_Connection.Channels[i].State == Channel_Closed) { ChannelData = &Bluetooth_Connection.Channels[i]; - ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i); + ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i); break; } }