fix: Adjust hid indicator listeners for event refactor

* Avoid static listener to prevent subscription
  issue.
This commit is contained in:
Peter Johanson 2024-07-01 18:26:43 +00:00 committed by Pete Johanson
parent f2ea1da036
commit f18974e8c4

View file

@ -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);