-
-
Notifications
You must be signed in to change notification settings - Fork 40k
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] 0.14.33 breaks backlight levels #15331
Comments
Do you know how to do a |
I didn't, but now I do, it says e0a5056 is the first bad commit. Edit: confirmed, if I check out 0.14.33 but replace quantum/backlight/backlight_avr.c with the version prior to that commit, everything works fine. Edit 2: Since many of the changes in the PR (#7521) seem to be related to backlight breathing, just wanted to clarify that I'm not using breathing, it's just a static level. |
It's something to do with |
Figured it out, it's losing bits doing division. |
…#15344) * Fix bit loss in cie_lightness() when doing division. * Use the right types * Format Co-authored-by: zvecr <[email protected]>
(qmk#15344) * Fix bit loss in cie_lightness() when doing division. * Use the right types * Format Co-authored-by: zvecr <[email protected]>
Describe the Bug
I have a higher number of backlight levels (20) so it's more obvious, but even a smaller number shows this behavior: increasing/decreasing the backlight levels jumps the light intensity all over the place (e.g. starting from backlight level 0 -> intensity 0, 1 -> intensity 50 (estimated), 2 -> intensity 10, 3 -> intensity 200, 4 -> intensity 50, 5 -> intensity 190).
0.14.32 works normally. If I check out the first commit (b47bdee ) after that tag it starts to break.
System Information
Additional Context
Building using latest qmkfm/qmk_cli Docker image.
The text was updated successfully, but these errors were encountered: