Skip to content

Commit

Permalink
fixup: AVR/RGBLIGHT criteria for 60_iso/unxmaal
Browse files Browse the repository at this point in the history
  • Loading branch information
lesshonor committed Mar 3, 2023
1 parent 0a997f4 commit 37c12ae
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions layouts/community/60_iso/unxmaal/rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Only enable RGB on avr boards
ifeq ($(strip $(PLATFORM)), AVR)
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

0 comments on commit 37c12ae

Please sign in to comment.