Skip to content

Commit

Permalink
device: Don't use DBG in gatt_debug
Browse files Browse the repository at this point in the history
gatt_debug callback is used to print debug strings from bt_att which
includes the file and function names so using DBG would add yet another
set of file and function prefixes which makes the logs confusing.
  • Loading branch information
Vudentz committed Mar 23, 2022
1 parent e1b808c commit 71cec50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -5545,7 +5545,7 @@ static void gatt_client_service_changed(uint16_t start_handle,

static void gatt_debug(const char *str, void *user_data)
{
DBG("%s", str);
DBG_IDX(0xffff, "%s", str);
}

static void gatt_client_init(struct btd_device *device)
Expand Down

0 comments on commit 71cec50

Please sign in to comment.