aboutsummaryrefslogtreecommitdiffstats
path: root/quantum/backlight/backlight_avr.c
diff options
context:
space:
mode:
authorGravatar Joel Challis <git@zvecr.com>2020-03-07 12:09:49 +0000
committerGravatar GitHub <noreply@github.com>2020-03-07 12:09:49 +0000
commit3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1 (patch)
tree8ab57281f90be800b6e3556e2705ffbcabf1494c /quantum/backlight/backlight_avr.c
parentd7ba0ad684a18c07952963427ca89a8e8e7e1903 (diff)
downloadqmk_firmware-3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1.tar.gz
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.c5
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 @@
#include "quantum.h"
#include "backlight.h"
+#include "backlight_driver_common.h"
#include "debug.h"
-#if !defined(BACKLIGHT_PIN) && !defined(BACKLIGHT_PINS)
-# error "Backlight pin/pins not defined. Please configure."
-#endif
-
// This logic is a bit complex, we support 3 setups:
//
// 1. Hardware PWM when backlight is wired to a PWM pin.