Skip to content

Commit

Permalink
Update hog.c
Browse files Browse the repository at this point in the history
  • Loading branch information
ReFil committed Jan 6, 2024
1 parent e6a9407 commit 0661dd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/src/hog.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ static ssize_t write_hids_leds_report(struct bt_conn *conn, const struct bt_gatt
return BT_GATT_ERR(BT_ATT_ERR_UNLIKELY);
}

struct zmk_endpoint_instance endpoint = {.transport = ZMK_TRANSPORT_BLE,
.ble = {
.profile_index = profile,
}};
struct zmk_endpoint_instance endpoint = zmk_endpoints_selected();
zmk_hid_indicators_process_report(report, endpoint);

return len;
Expand Down

0 comments on commit 0661dd6

Please sign in to comment.