mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
fix(bluetooth): Delete any previously stored name.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user