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) {
This commit is contained in:
parent
fe010c7b6d
commit
7b3a55cf50
1 changed files with 2 additions and 0 deletions
|
@ -404,6 +404,7 @@ static struct bt_conn_cb conn_callbacks = {
|
||||||
.security_changed = security_changed,
|
.security_changed = security_changed,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) {
|
static void auth_passkey_display(struct bt_conn *conn, unsigned int passkey) {
|
||||||
char addr[BT_ADDR_LE_STR_LEN];
|
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);
|
LOG_DBG("Passkey for %s: %06u", log_strdup(addr), passkey);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
#ifdef CONFIG_ZMK_BLE_PASSKEY_ENTRY
|
#ifdef CONFIG_ZMK_BLE_PASSKEY_ENTRY
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue