summaryrefslogtreecommitdiffstats
path: root/layouts/community/60_iso
diff options
context:
space:
mode:
authorLess/Rikki <86894501+lesshonor@users.noreply.github.com>2023-03-15 11:47:12 -0400
committerGitHub <noreply@github.com>2023-03-15 15:47:12 +0000
commit70bf714cdba57793efe537208620e7eb30d3b15f (patch)
tree895c9cb3b35b615d5f3be6e92ef07f36f2d0a3f7 /layouts/community/60_iso
parent291834b162f070fb76d2f50d360b9943b919cd61 (diff)
userspace/community layout fixes (#19998)
* fixup: improve AVR detection for 60_iso/unxmaal * fixup: moved TAP_CODE_DELAY to mechmerlin/config.h * fixup: move talljoe.c to INTROSPECTION_KEYMAP_C * fixup: AVR/RGBLIGHT criteria for 60_iso/unxmaal
Diffstat (limited to 'layouts/community/60_iso')
-rw-r--r--layouts/community/60_iso/unxmaal/rules.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/layouts/community/60_iso/unxmaal/rules.mk b/layouts/community/60_iso/unxmaal/rules.mk
index 2ce7257d2b..c2d3c6b075 100644
--- a/layouts/community/60_iso/unxmaal/rules.mk
+++ b/layouts/community/60_iso/unxmaal/rules.mk
@@ -1,4 +1,7 @@
-# Only enable RGB on avr boards
-ifndef MCU_FAMILY
- RGBLIGHT_ENABLE = yes # Enable RGB Underglow
+# Only enable RGBLIGHT on avr boards
+ifeq ($(strip $(PLATFORM_KEY)),avr)
+ # ...that are at least prepared for it
+ ifdef RGBLIGHT_DRIVER
+ RGBLIGHT_ENABLE = yes # Enable RGB Underglow
+ endif
endif