Disconnect old BLE profile when selecting new one

This commit is contained in:
Justin Ridgewell 2023-12-20 22:21:53 -05:00
parent a593c7260a
commit bf6aa89e72

View file

@ -261,6 +261,7 @@ int zmk_ble_prof_select(uint8_t index) {
return 0;
}
zmk_ble_prof_disconnect(active_profile);
active_profile = index;
ble_save_profile();