summaryrefslogtreecommitdiff
path: root/keyboards/dm9records/ergoinu/post_rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dm9records/ergoinu/post_rules.mk')
-rw-r--r--keyboards/dm9records/ergoinu/post_rules.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/dm9records/ergoinu/post_rules.mk b/keyboards/dm9records/ergoinu/post_rules.mk
new file mode 100644
index 0000000000..02aa48104c
--- /dev/null
+++ b/keyboards/dm9records/ergoinu/post_rules.mk
@@ -0,0 +1,9 @@
+ifneq ($(strip $(ERGOINU)),)
+ ifeq ($(findstring promicroled, $(ERGOINU)), promicroled)
+ DISABLE_PROMICRO_LEDs = no
+ endif
+endif
+
+ifeq ($(strip $(DISABLE_PROMICRO_LEDs)), yes)
+ OPT_DEFS += -DDISABLE_PROMICRO_LEDs
+endif