From 7b3a55cf50b4a4e7260bb1898d07c44d9416d97d Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Wed, 18 Nov 2020 17:34:16 +0000 Subject: [PATCH] refactor(ble): silence warning `auth_passkey_display` not used Silences the following build warning ... ../src/ble.c:407:13: warning: 'auth_passkey_display' defined but not used [-Wunused-function] 407 | static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) { --- app/src/ble.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/ble.c b/app/src/ble.c index 1ab61d0c..b00bd5c2 100644 --- a/app/src/ble.c +++ b/app/src/ble.c @@ -404,6 +404,7 @@ static struct bt_conn_cb conn_callbacks = { .security_changed = security_changed, }; +/* static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) { char addr[BT_ADDR_LE_STR_LEN]; @@ -411,6 +412,7 @@ static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) { LOG_DBG("Passkey for %s: %06u", log_strdup(addr), passkey); } +*/ #ifdef CONFIG_ZMK_BLE_PASSKEY_ENTRY