fix(bluetooth): Delete any previously stored name.
This commit is contained in:
parent
13842a8a1e
commit
b103eb4b05
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue