-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] RGBLIGHT_LAYERS can't use with RGBLIGHT_CUSTOM_DRIVER #8889
Comments
This turns out to be a little more complicated that one might expect. Yes we could just make Originally That's fine if you are using the default implementation, but keyboard builders who need to implement their own driver shouldn't need to worry about lighting layers in their code to deal with their unusual physical LED setups. Lighting layers are an abstraction that should be above all of this. We shouldn't require those who need to override the LED driving logic to remember to include the call to handle the lighting layers; it's extra work for them, and it is a potential source for bugs if it's not done right. My proposal instead is to resolve this by splitting
By doing this:
Stay tuned for a pull request soon... |
Thanks, hopping #7720 will be merged soon. |
Looks like #7720 was recently merged. |
thanks |
Describe the Bug
If using RGBLIGHT_LAYERS with RGBLIGHT_CUSTOM_DRIVER, there will be a compilation error.
System Information
Additional Context
possible fix:
remove the static from the function declaration.
The text was updated successfully, but these errors were encountered: