From 4f040fecdf1f653dc48cae3e051980067103f712 Mon Sep 17 00:00:00 2001 From: Jeff Rizzo Date: Mon, 25 Jan 2021 12:50:05 -0800 Subject: [PATCH] Add a missing log_strdup() --- app/src/ble.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/ble.c b/app/src/ble.c index e8d2c420..c51391cb 100644 --- a/app/src/ble.c +++ b/app/src/ble.c @@ -429,7 +429,7 @@ static void le_param_updated(struct bt_conn *conn, uint16_t interval, uint16_t l bt_addr_le_to_str(bt_conn_get_dst(conn), addr, sizeof(addr)); - LOG_DBG("%s: interval %d latency %d timeout %d", addr, interval, latency, timeout); + LOG_DBG("%s: interval %d latency %d timeout %d", log_strdup(addr), interval, latency, timeout); } static struct bt_conn_cb conn_callbacks = {