From 80118a6bbd3d9fc4c7797fef0c34bc67aa73aa98 Mon Sep 17 00:00:00 2001 From: mtei <2170248+mtei@users.noreply.github.com> Date: Fri, 29 Mar 2019 17:31:57 +0900 Subject: [PATCH] test RGBLIGHT_SPLIT on keyboards/handwired/pdhelix --- keyboards/handwired/pdhelix/rules.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/keyboards/handwired/pdhelix/rules.mk b/keyboards/handwired/pdhelix/rules.mk index a33f2bc220..1412576597 100644 --- a/keyboards/handwired/pdhelix/rules.mk +++ b/keyboards/handwired/pdhelix/rules.mk @@ -88,4 +88,13 @@ CONSOLE_ENABLE = no # Console for debug(+400) COMMAND_ENABLE = no # Commands for debug and configuration SPLIT_KEYBOARD = yes -DEFAULT_FOLDER = handwired/pdhelix/pd0 +DEFAULT_FOLDER = handwired/pdhelix/pd2 + +ifeq ($(strip $(RGBLIGHT_TEST)), 1) + RGBLIGHT_ENABLE = no # disable rgblight +else ifeq ($(strip $(RGBLIGHT_TEST)), 2) + RGBLIGHT_ENABLE = yes # enable rgblight without sync +else ifeq ($(strip $(RGBLIGHT_TEST)), 3) + RGBLIGHT_ENABLE = yes + OPT_DEFS += -DRGBLIGHT_SPLIT # enable rgblight with sync +endif