diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2021-01-30 03:53:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-29 19:53:56 -0800 |
commit | d92ffd1157e3ecc4ae2dbf8548c45c8b0269f664 (patch) | |
tree | 9a1a1f9d06fe6b9b41e982d37895e19749fe53ec /quantum/backlight | |
parent | 3780ab3fcd4888cba4852158e11c495fc9809306 (diff) |
Adds AT90USB162 support (#11570)
* at90usb162 support
* fix missing bracket
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'quantum/backlight')
-rw-r--r-- | quantum/backlight/backlight_avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/backlight/backlight_avr.c b/quantum/backlight/backlight_avr.c index 4d66da80ba..2ecdd4f2c4 100644 --- a/quantum/backlight/backlight_avr.c +++ b/quantum/backlight/backlight_avr.c @@ -68,7 +68,7 @@ # define COMxx1 COM3A1 # define OCRxx OCR3A # endif -#elif (defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega32U2__)) && (BACKLIGHT_PIN == B7 || BACKLIGHT_PIN == C5 || BACKLIGHT_PIN == C6) +#elif (defined(__AVR_AT90USB162__) || defined(__AVR_ATmega16U2__) || defined(__AVR_ATmega32U2__)) && (BACKLIGHT_PIN == B7 || BACKLIGHT_PIN == C5 || BACKLIGHT_PIN == C6) # define HARDWARE_PWM # define ICRx ICR1 # define TCCRxA TCCR1A |