Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always call layer_state_set_user
Before commit b46f5e2, layer_state_set_kb was only defined if MOONLANDER_USER_LEDS was not set. With MOONLANDER_USER_LEDS set, the default layer_state_set_kb provided by QMK takes care of calling layer_state_set_user. After that commit, layer_state_set_kb is defined unconditionally, but most of its body is still ifdef'd out if MOONLANDER_USER_LEDS is set. That includes layer_state_set_user, which looks like an oversight. Run layer_state_set_user unconditionally. This is the same fix as zsa#396 for voyager. It looks like the other ZSA keyboards do not have the same problem. Alternatively, we could go back to the old approach of defining the function conditionally, but this makes it a little harder to reintroduce the same problem.
- Loading branch information