Skip to content

Commit

Permalink
fix: Adjust hid indicator listeners for event refactor
Browse files Browse the repository at this point in the history
* Avoid static listener to prevent subscription
  issue.
  • Loading branch information
petejohanson committed Jul 1, 2024
1 parent f2ea1da commit 42e70a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/hid_indicators.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ static int profile_listener(const zmk_event_t *eh) {
return 0;
}

static ZMK_LISTENER(profile_listener, profile_listener);
static ZMK_SUBSCRIPTION(profile_listener, zmk_endpoint_changed);
ZMK_LISTENER(profile_listener, profile_listener);
ZMK_SUBSCRIPTION(profile_listener, zmk_endpoint_changed);

0 comments on commit 42e70a7

Please sign in to comment.