mirror of https://github.com/zmkfirmware/zmk.git
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
|
|
@ -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…
Reference in New Issue