Add HCI debugging with verbosity control to the BluetoothHost demo.
[pub/USBasp.git] / Demos / Host / Incomplete / BluetoothHost / Lib / BluetoothACLPackets.c
index df831fd..45fad7b 100644 (file)
@@ -208,7 +208,7 @@ Bluetooth_Channel_t* Bluetooth_OpenChannel(uint16_t PSM)
                if (Bluetooth_Connection.Channels[i].State == Channel_Closed)\r
                {\r
                        ChannelData = &Bluetooth_Connection.Channels[i];                                \r
-                       ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i);\r
+                       ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i);\r
                        break;\r
                }\r
        }\r
@@ -292,7 +292,7 @@ static inline void Bluetooth_Signal_ConnectionReq(BT_ACL_Header_t*        ACLPac
                        if (Bluetooth_Connection.Channels[i].State == Channel_Closed)\r
                        {\r
                                ChannelData = &Bluetooth_Connection.Channels[i];                                \r
-                               ChannelData->LocalNumber = (BLUETOOTH_CHANNELNUMBER_BASEOFFSET + i);\r
+                               ChannelData->LocalNumber = (BT_CHANNELNUMBER_BASEOFFSET + i);\r
                                break;\r
                        }\r
                }\r