Skip to content

Commit

Permalink
fix(bt): Fix compilation failure for clearing bonds.
Browse files Browse the repository at this point in the history
* Refactor broke the build when clearing bonds on start.
  • Loading branch information
petejohanson committed Sep 9, 2024
1 parent 1c48f64 commit 6b4d591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6b4d591

Please sign in to comment.