After flashing #2187, my backlight constantly flashes while on on my xd64. Once I revert the offending commit, everything works as expected.
I tried playing around with some settings, but ultimately I could not get it to work properly.
Thanks,
Michael
I am having the same issue on my XD75.
The backlight LEDs are on pin F5. Decreasing the BL level with BL_DEC eventually turns off the LEDs. BL_TOG and BL_INC don't do anything other than turning the LEDs back on. BL_INC isn't supposed to do any dimming/brightening as pin F5 of the ATMega32u4 is no PWM pin but I suppose BL_TOG should also be able to turn the LEDs off?
Same issue on my xd75 as well. Resetting back to commit d6215ad6aff3857cea8a6877b56a547a76ab13ac, the commit before #2187, resolved my issue as well, but that didn't satisfy me.
Going through #2187, the issue is line 907 in quantum/quantum.c - order of operations wasn't followed like it was in the previous commit.
The line was previously backlight_tick = (backlight_tick + 1) % 16; but #2187 drops the parenthesis. Essentially, the issue comes down to bad math. After adding the parenthesis back in, I can run off of master without an issue.
This looks like a simple patch. Would someone like to put a PR together and we'll get it merged in?
Most helpful comment
Same issue on my xd75 as well. Resetting back to commit d6215ad6aff3857cea8a6877b56a547a76ab13ac, the commit before #2187, resolved my issue as well, but that didn't satisfy me.
Going through #2187, the issue is line 907 in
quantum/quantum.c- order of operations wasn't followed like it was in the previous commit.The line was previously
backlight_tick = (backlight_tick + 1) % 16;but #2187 drops the parenthesis. Essentially, the issue comes down to bad math. After adding the parenthesis back in, I can run off of master without an issue.