summaryrefslogtreecommitdiffstats
path: root/keyboards/dz60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dz60/config.h')
-rw-r--r--keyboards/dz60/config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/dz60/config.h b/keyboards/dz60/config.h
index 8d66c35847..63794d0270 100644
--- a/keyboards/dz60/config.h
+++ b/keyboards/dz60/config.h
@@ -25,8 +25,9 @@
/* number of backlight levels */
#define BACKLIGHT_PIN B6
+#ifdef BACKLIGHT_PIN
#define BACKLIGHT_LEVELS 5
-
+#endif
/* Set 0 if debouncing isn't needed */
#define DEBOUNCE 5
@@ -35,12 +36,13 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-
#define RGB_DI_PIN E2
+#ifdef RGB_DI_PIN
#define RGBLIGHT_ANIMATIONS
#define RGBLED_NUM 16
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
-
+#define RGBLIGHT_SLEEP
#endif
+#endif \ No newline at end of file