summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q8_pro/matrix.c
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-08-03 09:44:51 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-08-03 09:44:51 +0800
commit4832cd381ce02d3f2da48721e61212fa8ff83f24 (patch)
treec79dab44389d2476980d44016087572bbf1645bd /keyboards/keychron/q8_pro/matrix.c
parent02a4691a88dbf3ce67ded5e863a65c7efdc6acaf (diff)
Updated matrix.c of some boards
Diffstat (limited to 'keyboards/keychron/q8_pro/matrix.c')
-rw-r--r--keyboards/keychron/q8_pro/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/q8_pro/matrix.c b/keyboards/keychron/q8_pro/matrix.c
index 4f39280e95..6ee06595e6 100644
--- a/keyboards/keychron/q8_pro/matrix.c
+++ b/keyboards/keychron/q8_pro/matrix.c
@@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) {
uint8_t i;
uint8_t n = 1;
- for (i = 1; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) {
+ for (i = 0; i < (MATRIX_COLS - DIRECT_COL_NUM); i++) {
writePinLow(HC595_SHCP);
if (data & 0x1) {
writePinHigh(HC595_DS);