diff options
127 files changed, 7069 insertions, 1761 deletions
diff --git a/keyboards/keychron/common/common.mk b/keyboards/keychron/common/common.mk new file mode 100755 index 0000000000..d7610bce69 --- /dev/null +++ b/keyboards/keychron/common/common.mk @@ -0,0 +1,4 @@ +COMMON_DIR = common +SRC += $(COMMON_DIR)/matrix.c + +VPATH += $(TOP_DIR)/keyboards/keychron/$(COMMON_DIR) diff --git a/keyboards/keychron/q5_pro/matrix.c b/keyboards/keychron/common/matrix.c index ee2d24e612..8fe7588118 100755 --- a/keyboards/keychron/q5_pro/matrix.c +++ b/keyboards/keychron/common/matrix.c @@ -16,11 +16,41 @@ #include "quantum.h" -#define HC595_STCP B0 -#define HC595_SHCP A1 -#define HC595_DS A7 +#ifndef HC595_STCP < |