diff options
Diffstat (limited to 'quantum/backlight/backlight_avr.c')
| -rw-r--r-- | quantum/backlight/backlight_avr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/backlight/backlight_avr.c b/quantum/backlight/backlight_avr.c index 40291d382..ce13f1118 100644 --- a/quantum/backlight/backlight_avr.c +++ b/quantum/backlight/backlight_avr.c | |||
| @@ -1,11 +1,8 @@ | |||
| 1 | #include "quantum.h" | 1 | #include "quantum.h" |
| 2 | #include "backlight.h" | 2 | #include "backlight.h" |
| 3 | #include "backlight_driver_common.h" | ||
| 3 | #include "debug.h" | 4 | #include "debug.h" |
| 4 | 5 | ||
| 5 | #if !defined(BACKLIGHT_PIN) && !defined(BACKLIGHT_PINS) | ||
| 6 | # error "Backlight pin/pins not defined. Please configure." | ||
| 7 | #endif | ||
| 8 | |||
| 9 | // This logic is a bit complex, we support 3 setups: | 6 | // This logic is a bit complex, we support 3 setups: |
| 10 | // | 7 | // |
| 11 | // 1. Hardware PWM when backlight is wired to a PWM pin. | 8 | // 1. Hardware PWM when backlight is wired to a PWM pin. |
