mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
fix(bt): Fix compilation failure for clearing bonds.
* Refactor broke the build when clearing bonds on start.
This commit is contained in:
committed by
Pete Johanson
parent
1c48f64730
commit
6b4d591c37
@@ -659,7 +659,7 @@ static int zmk_ble_complete_startup(void) {
|
|||||||
char setting_name[15];
|
char setting_name[15];
|
||||||
sprintf(setting_name, "ble/profiles/%d", i);
|
sprintf(setting_name, "ble/profiles/%d", i);
|
||||||
|
|
||||||
err = settings_delete(setting_name);
|
int err = settings_delete(setting_name);
|
||||||
if (err) {
|
if (err) {
|
||||||
LOG_ERR("Failed to delete setting: %d", err);
|
LOG_ERR("Failed to delete setting: %d", err);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user