-
-
Notifications
You must be signed in to change notification settings - Fork 40.3k
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
fix: split_common i2c slave backlight not disabled #3886
Conversation
@That-Canadian and/or @nooges, this looks good? |
sorry for adding this to an existing PR... but 39624f1 won't apply cleanly without the initial buffer fix |
BTW: commit message for 39624f1 is wrong regarding eeprom writes... backlight_set doesn't mess with the eeprom. Though, the code duplication still exists. let me know if I shall reword the message. |
Adding to PRs is absolutely fine! And yeah, please make sure that messages/documentation in code is accurate/correct. |
39624f1
to
a175733
Compare
ok, updated the commiit message. Code was fiine. |
@nooges or @That-Canadian, does this look good? |
I think the |
you just need 3111dabb0fed4693b25eec5b313ab48cff952eb3 - the other commits were obsoleted by the alternative fix in #3683. shall I rebase this on master? |
I think that is a good idea, we just need that commit on master. |
ok, rebased. |
There have been a bunch of changes, would you mind updating this? |
@rclasen there have been a number of changes to the split code recently, and this may no longer be an issue. If you could test out the newer code? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, although I'm told it may be outdated. If so it should be closed, and if not I think it's ok to merge.
I've just pushed an updated patch that does the same fix in transport. As the other bits of the original PR were addressed by other means I've updated the title to reflect the remaining bit. |
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave backlight was always on - as get_backlight_level() doesn't indicate if the backlight is enabled or not. also updated the corosponding code for serial transport to stop peeking directly at 'internal' backlight_config structure.
slave side matrix scanning copied the matrix twice to the i2c slave
buffer... - though, for i2c one copy was put in the wrong offset.
The wrong i2c copy (offset 1) overwrote the unused RGBLIGHT part of the
buffer... and when using more than 5 columns per half also the original
matrix buffer.
removed code that does the unnecessary second copy.