summaryrefslogtreecommitdiff
path: root/keyboards/idobao/id67/post_rules.mk
diff options
context:
space:
mode:
authorVino Rodrigues <366673+vinorodrigues@users.noreply.github.com>2022-07-02 22:35:37 +1000
committerGitHub <noreply@github.com>2022-07-02 22:35:37 +1000
commit882eadd94de2e2c8bde63384a3026524c1ff407c (patch)
treea851a177e153922f88d56589cfe7e4841fba370a /keyboards/idobao/id67/post_rules.mk
parent7a5f76d40a8a04af9e16cbaa79d90e93bca9970d (diff)
downloadqmk_firmware-882eadd94de2e2c8bde63384a3026524c1ff407c.tar.gz
qmk_firmware-882eadd94de2e2c8bde63384a3026524c1ff407c.zip
[Keyboard] IDOBAO ID67 code touch-ups and include factory keymap (#17231)
Diffstat (limited to 'keyboards/idobao/id67/post_rules.mk')
-rw-r--r--keyboards/idobao/id67/post_rules.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/idobao/id67/post_rules.mk b/keyboards/idobao/id67/post_rules.mk
index 5eecdef4ce..32832a65b2 100644
--- a/keyboards/idobao/id67/post_rules.mk
+++ b/keyboards/idobao/id67/post_rules.mk
@@ -2,13 +2,7 @@
# this enables switching off thoes LEDs
# Usage: `make idobao/id67:default UNDERGLOW=off`
-ifeq ($(findstring off,$(UNDERGLOW)), off)
- $(info ** UNDERGLOW OFF)
- OPT_DEFS += -DID67_DISABLE_UNDERGLOW
-else ifeq ($(findstring no,$(UNDERGLOW)), no)
- $(info ** NO UNDERGLOW)
- OPT_DEFS += -DID67_DISABLE_UNDERGLOW
-else ifeq ($(findstring 0,$(UNDERGLOW)), 0)
- $(info ** Nil UNDERGLOW)
+UNDERGLOW ?= yes
+ifneq ($(strip $(UNDERGLOW)), yes)
OPT_DEFS += -DID67_DISABLE_UNDERGLOW
endif