From 4319aca91c13d817398016164bdfb0d0720e6f4b Mon Sep 17 00:00:00 2001 From: Ryan Date: Wed, 23 Jun 2021 10:53:00 +1000 Subject: [PATCH] Fix linker error when rgblight and RGB Matrix are both enabled (#13304) --- common_features.mk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common_features.mk b/common_features.mk index 33a8da23d7..a790b84328 100644 --- a/common_features.mk +++ b/common_features.mk @@ -233,9 +233,9 @@ endif COMMON_VPATH += $(QUANTUM_DIR)/led_matrix COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations COMMON_VPATH += $(QUANTUM_DIR)/led_matrix/animations/runners - SRC += process_backlight.c - SRC += led_matrix.c - SRC += led_matrix_drivers.c + SRC += $(QUANTUM_DIR)/process_keycode/process_backlight.c + SRC += $(QUANTUM_DIR)/led_matrix/led_matrix.c + SRC += $(QUANTUM_DIR)/led_matrix/led_matrix_drivers.c CIE1931_CURVE := yes ifeq ($(strip $(LED_MATRIX_DRIVER)), IS31FL3731) @@ -261,9 +261,9 @@ endif COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations COMMON_VPATH += $(QUANTUM_DIR)/rgb_matrix/animations/runners - SRC += color.c - SRC += rgb_matrix.c - SRC += rgb_matrix_drivers.c + SRC += $(QUANTUM_DIR)/color.c + SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix.c + SRC += $(QUANTUM_DIR)/rgb_matrix/rgb_matrix_drivers.c CIE1931_CURVE := yes RGB_KEYCODES_ENABLE := yes