diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-03 14:55:15 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-09-13 22:33:05 -0400 |
commit | b103eb4b059b60ebff81eb45db8405ed3a381257 (patch) | |
tree | e4e9104a0b47996559ba338ea8159c50de6e9cc6 | |
parent | 13842a8a1e45b399864ba1ae5a759c614313b4db (diff) |
fix(bluetooth): Delete any previously stored name.
-rw-r--r-- | app/src/ble.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/ble.c b/app/src/ble.c index 1e748ed..f723762 100644 --- a/app/src/ble.c +++ b/app/src/ble.c @@ -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); } |