aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/kbdfans/kbd66/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd66/config.h')
-rw-r--r--keyboards/kbdfans/kbd66/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/kbdfans/kbd66/config.h b/keyboards/kbdfans/kbd66/config.h
index a2666a619..5d6cab458 100644
--- a/keyboards/kbdfans/kbd66/config.h
+++ b/keyboards/kbdfans/kbd66/config.h
@@ -47,12 +47,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
-
#define BACKLIGHT_PIN B6
+#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 3
#define BACKLIGHT_BREATHING
#define BREATHING_PERIOD 6
-
+#endif
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5