Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. --- a/drivers/bluetooth/hci/h4.c
  2. +++ b/drivers/bluetooth/hci/h4.c
  3. @@ -28,18 +28,14 @@
  4. #include <misc/byteorder.h>
  5. #include <string.h>
  6.  
  7. -#include <bluetooth/bluetooth.h>
  8. +#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLUETOOTH_DEBUG_HCI_DRIVER)
  9. #include <bluetooth/log.h>
  10. +#include <bluetooth/bluetooth.h>
  11. #include <bluetooth/hci.h>
  12. #include <bluetooth/hci_driver.h>
  13.  
  14. #include "../util.h"
  15.  
  16. -#if !defined(CONFIG_BLUETOOTH_DEBUG_HCI_DRIVER)
  17. -#undef BT_DBG
  18. -#define BT_DBG(fmt, ...)
  19. -#endif
  20. -
  21. #if defined(CONFIG_BLUETOOTH_NRF51_PM)
  22. #include "../nrf51_pm.h"
  23. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement