From 813d79bac6ff168ea13bf073a28744542a08a59e Mon Sep 17 00:00:00 2001 From: stanrc85 <47038504+stanrc85@users.noreply.github.com> Date: Tue, 2 Apr 2019 19:56:11 -0400 Subject: Use modified rgb_backlight.c file --- keyboards/hs60/v2/keymaps/stanrc85/rules.mk | 1 - users/stanrc85/rules.mk | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/keyboards/hs60/v2/keymaps/stanrc85/rules.mk b/keyboards/hs60/v2/keymaps/stanrc85/rules.mk index a2850a830..e0c9ead8d 100644 --- a/keyboards/hs60/v2/keymaps/stanrc85/rules.mk +++ b/keyboards/hs60/v2/keymaps/stanrc85/rules.mk @@ -1,6 +1,5 @@ # project specific files SRC = keyboards/zeal60/zeal60.c \ - keyboards/zeal60/rgb_backlight.c \ drivers/issi/is31fl3733.c \ quantum/color.c \ drivers/arm/i2c_master.c diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index 4b66f9692..83e9cb6e4 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk @@ -14,3 +14,7 @@ ifeq ($(strip $(RGBLIGHT_ENABLE)), yes) # Include my fancy rgb functions source here SRC += layer_rgb.c endif + +ifeq ($(strip $(KEYBOARD)), hs60/v2) + SRC += rgb_backlight.c +endif -- cgit v1.2.3-24-g4f1b