forked from kofal.net/zmk
fix: BLE refactor mouse keys fix.
This commit is contained in:
committed by
Pete Johanson
parent
483a4930e9
commit
96e55c8be6
@@ -336,7 +336,7 @@ K_MSGQ_DEFINE(zmk_hog_mouse_msgq, sizeof(struct zmk_hid_mouse_report_body),
|
||||
void send_mouse_report_callback(struct k_work *work) {
|
||||
struct zmk_hid_mouse_report_body report;
|
||||
while (k_msgq_get(&zmk_hog_mouse_msgq, &report, K_NO_WAIT) == 0) {
|
||||
struct bt_conn *conn = destination_connection();
|
||||
struct bt_conn *conn = zmk_ble_active_profile_conn();
|
||||
if (conn == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user