Disconnect old BLE profile when selecting new one
This commit is contained in:
parent
a593c7260a
commit
bf6aa89e72
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ int zmk_ble_prof_select(uint8_t index) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
zmk_ble_prof_disconnect(active_profile);
|
||||||
active_profile = index;
|
active_profile = index;
|
||||||
ble_save_profile();
|
ble_save_profile();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue