summaryrefslogtreecommitdiff
path: root/layouts/community/ergodox/drashna/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/drashna/rules.mk')
-rw-r--r--layouts/community/ergodox/drashna/rules.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/layouts/community/ergodox/drashna/rules.mk b/layouts/community/ergodox/drashna/rules.mk
index f5d63c56fe..30d513c911 100644
--- a/layouts/community/ergodox/drashna/rules.mk
+++ b/layouts/community/ergodox/drashna/rules.mk
@@ -1,7 +1,7 @@
TAP_DANCE_ENABLE = yes
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
COMMAND_ENABLE = yes # Commands for debug and configuration
-ifeq ("$(KEYBOARD)","ergodox_ez")
+ifneq (,$(findstring ergodox_ez,$(KEYBOARD)))
RGBLIGHT_ENABLE = yes
RGB_MATRIX_ENABLE = no
endif
@@ -12,7 +12,5 @@ UNICODE_ENABLE = no
UNICDOEMAP_ENABLE = yes
MACROS_ENABLED = no
+RGBLIGHT_TWINKLE = no
INDICATOR_LIGHTS = no
-ifdef RGBLIGHT_ENABLE
- RGBLIGHT_TWINKLE = yes
-endif