fix(bt): Fix compilation failure for clearing bonds.

* Refactor broke the build when clearing bonds on start.
This commit is contained in:
Peter Johanson 2024-09-09 11:07:15 -06:00 committed by Pete Johanson
parent 1c48f64730
commit 6b4d591c37
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}