-
-
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
Fix AVR boards which were overriding backlight without setting… #8044
Conversation
819168f
to
28e2303
Compare
keyboards/amj96/rules.mk
Outdated
NKRO_ENABLE ?= yes # USB Nkey Rollover | ||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default | ||
NKRO_ENABLE = yes # USB Nkey Rollover | ||
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default |
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.
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | |
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
This PCB seems to support backlight, no idea what the pin is though. I assume that's why you disabled it here.
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.
Yeah, the code wasnt functional as there was no BACKLIGHT_PIN defined. Currently it would have just had an empty backlight_set
function. Given I dont have the board, I figured it best to disable.
Co-Authored-By: fauxpark <[email protected]>
Co-Authored-By: fauxpark <[email protected]>
7b13f60
to
9d0b4f3
Compare
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.
LGTM
…8044) * Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <[email protected]>
…8044) * Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <[email protected]>
…8044) * Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <[email protected]>
…8044) * Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Apply suggestions from code review Co-Authored-By: fauxpark <[email protected]> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <[email protected]>
Description
Another round of #7970, but this time for AVR.
Hangover from old AVR implementation within quantum.c, where you could use custom stuff without actually defining you were doing so. The reason you currently get away with it is the #ifdef BACKLIGHT_PIN wrapping quantum/backlight/backlight_avr.c
Types of Changes
Checklist