aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xbows/knight
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/xbows/knight')
-rw-r--r--keyboards/xbows/knight/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/xbows/knight/config.h b/keyboards/xbows/knight/config.h
index 6dc32db48..1e561642f 100644
--- a/keyboards/xbows/knight/config.h
+++ b/keyboards/xbows/knight/config.h
@@ -24,8 +24,10 @@
/* number of backlight levels */
// #define BACKLIGHT_LEVELS 3
#define BACKLIGHT_PIN B7
+#ifdef BACKLIGHT_PIN
#define BACKLIGHT_BREATHING
#define BACKLIGHT_LEVELS 3
+#endif
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5