Browse Source

fix(bluetooth): Delete any previously stored name.

xmkb
Pete Johanson 4 years ago
parent
commit
b103eb4b05
  1. 2
      app/src/ble.c

2
app/src/ble.c

@ -347,6 +347,8 @@ static int zmk_ble_init(struct device *_arg) @@ -347,6 +347,8 @@ static int zmk_ble_init(struct device *_arg)
#endif
#if IS_ENABLED(CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START)
settings_delete("bt/name");
for (int i = 0; i < 10; i++) {
bt_unpair(i, NULL);
}

Loading…
Cancel
Save