From 3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sat, 7 Mar 2020 12:09:49 +0000 Subject: 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 --- quantum/backlight/backlight_avr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'quantum/backlight/backlight_avr.c') diff --git a/quantum/backlight/backlight_avr.c b/quantum/backlight/backlight_avr.c index 40291d3821..ce13f11184 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. -- cgit v1.2.3