aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/src
diff options
context:
space:
mode:
authorAbe Nonym <[email protected]>2024-09-16 18:06:34 +0200
committerGitHub <[email protected]>2024-09-16 12:06:34 -0400
commit92745903c98876f78a8a6da5890b7a6ff93563ec (patch)
tree1b57078298f6a12a822c34ac7b535d3a7250c753 /app/src
parent67d595f29f7495ca32fa8e413e74e22d23bb993a (diff)
downloadzmk-92745903c98876f78a8a6da5890b7a6ff93563ec.tar.gz
zmk-92745903c98876f78a8a6da5890b7a6ff93563ec.zip
fix(ble): Properly compile with clear bonds on start
Diffstat (limited to 'app/src')
-rw-r--r--app/src/ble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/ble.c b/app/src/ble.c
index 2308de5202..9ecfb7ec39 100644
--- a/app/src/ble.c
+++ b/app/src/ble.c
@@ -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);
}