Skip to content

Commit

Permalink
bluetooth: Drop vanity trace colors
Browse files Browse the repository at this point in the history
  • Loading branch information
kallisti5 committed Apr 10, 2016
1 parent 9bab675 commit e1e291b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
4 changes: 1 addition & 3 deletions src/add-ons/kernel/bluetooth/btCoreData/ChannelInterface.cpp
Expand Up @@ -7,14 +7,12 @@
#include <l2cap.h>
#include <bluetooth/HCI/btHCI_command.h>

#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME "Channel"
#define SUBMODULE_COLOR 31
#include <btDebug.h>

#include "ChannelInterface.h"
#include "FrameInterface.h"


L2capChannel*
ChannelBySourceID(HciConnection *conn, uint16 scid)
{
Expand Down
Expand Up @@ -10,15 +10,13 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/bdaddrUtils.h>

#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME "Connection"
#define SUBMODULE_COLOR 31
#include <btDebug.h>

#include <l2cap.h>

#include "ConnectionInterface.h"


void PurgeChannels(HciConnection* conn);


Expand Down
9 changes: 6 additions & 3 deletions src/add-ons/kernel/bluetooth/btCoreData/FrameInterface.cpp
@@ -1,12 +1,15 @@
/*
* Copyright 2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
* All rights reserved. Distributed under the terms of the MIT License.
*/

#include "FrameInterface.h"

#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME "Frame"
#define SUBMODULE_COLOR 31
#include <btDebug.h>

#include <lock.h>


L2capFrame*
SignalByIdent(HciConnection* conn, uint8 ident)
{
Expand Down
3 changes: 0 additions & 3 deletions src/add-ons/kernel/bluetooth/hci/acl.cpp
Expand Up @@ -14,9 +14,6 @@
#include <bluetooth/HCI/btHCI_event.h>
#include <bluetooth/bdaddrUtils.h>

//#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME "ACL"
#define SUBMODULE_COLOR 34
#include <btDebug.h>
#include <btCoreData.h>
#include <btModules.h>
Expand Down
3 changes: 0 additions & 3 deletions src/add-ons/kernel/bluetooth/hci/bluetooth.cpp
Expand Up @@ -22,9 +22,6 @@
#include <net_stack.h>
#include <NetBufferUtilities.h>

#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME "hci"
#define SUBMODULE_COLOR 34
#include <btDebug.h>
#include <btCoreData.h>
#include <btModules.h>
Expand Down
Expand Up @@ -5,6 +5,8 @@
*
*/

#include "h2generic.h"

#include <kernel.h>
#include <malloc.h>
#include <stdio.h>
Expand All @@ -14,16 +16,11 @@
#include <ByteOrder.h>
#include <Drivers.h>


#include "snet_buffer.h"

#define BT_DEBUG_THIS_MODULE
#define SUBMODULE_NAME BLUETOOTH_DEVICE_DEVFS_NAME
#define SUBMODULE_COLOR 35
#include <btDebug.h>
#include <btModules.h>

#include "h2generic.h"
#include "h2transactions.h"
#include "h2util.h"

Expand Down

0 comments on commit e1e291b

Please sign in to comment.