From c976fad8cd313ff4ad983d87c50ed7addb8f0cbf Mon Sep 17 00:00:00 2001 From: snoyer Date: Tue, 14 May 2024 06:23:50 +0400 Subject: [PATCH] revert extra event on disconnect --- app/src/ble.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/ble.c b/app/src/ble.c index 7d94cc00..adbed2ef 100644 --- a/app/src/ble.c +++ b/app/src/ble.c @@ -326,10 +326,6 @@ int zmk_ble_prof_disconnect(uint8_t index) { result = bt_conn_disconnect(conn, BT_HCI_ERR_REMOTE_USER_TERM_CONN); LOG_DBG("Disconnected from profile %d: %d", index, result); - raise_profile_changed_event(); - // `raise_profile_changed_event` actually does `raise_zmk_ble_active_profile_changed` - // should `profile_changed` and `active_profile_changed` be two separate events? - bt_conn_unref(conn); return result; }