fix(bt): Fix compilation failure for clearing bonds.
* Refactor broke the build when clearing bonds on start.
This commit is contained in:
parent
1c48f64730
commit
6b4d591c37
1 changed files with 1 additions and 1 deletions
|
|
@ -659,7 +659,7 @@ static int zmk_ble_complete_startup(void) {
|
|||
char setting_name[15];
|
||||
sprintf(setting_name, "ble/profiles/%d", i);
|
||||
|
||||
err = settings_delete(setting_name);
|
||||
int err = settings_delete(setting_name);
|
||||
if (err) {
|
||||
LOG_ERR("Failed to delete setting: %d", err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue