fix(ble): Properly compile with clear bonds on start

This commit is contained in:
Abe Nonym 2024-09-16 18:06:34 +02:00 committed by GitHub
parent 67d595f29f
commit 92745903c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ static int zmk_ble_complete_startup(void) {
char setting_name[32];
sprintf(setting_name, "ble/peripheral_addresses/%d", i);
err = settings_delete(setting_name);
int err = settings_delete(setting_name);
if (err) {
LOG_ERR("Failed to delete setting: %d", err);
}