diff options
| author | Joel Challis <git@zvecr.com> | 2020-03-07 12:09:49 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-07 12:09:49 +0000 |
| commit | 3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1 (patch) | |
| tree | 8ab57281f90be800b6e3556e2705ffbcabf1494c /quantum/backlight/backlight_avr.c | |
| parent | d7ba0ad684a18c07952963427ca89a8e8e7e1903 (diff) | |
| download | qmk_firmware-3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1.tar.gz qmk_firmware-3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1.zip | |
Backlight - Carve out a better location for private driver functionality (#8329)
* rename backlight_soft to match rules.mk
* rename backlight_soft to match rules.mk - update common_features
* Carve out a better location for private driver backlight functionality
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. |
