From 4832cd381ce02d3f2da48721e61212fa8ff83f24 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Thu, 3 Aug 2023 09:44:51 +0800 Subject: Updated matrix.c of some boards --- keyboards/keychron/k1_pro/matrix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keyboards/keychron/k1_pro') diff --git a/keyboards/keychron/k1_pro/matrix.c b/keyboards/keychron/k1_pro/matrix.c index 8be33235de..1ef3f96050 100644 --- a/keyboards/keychron/k1_pro/matrix.c +++ b/keyboards/keychron/k1_pro/matrix.c @@ -53,7 +53,7 @@ static void HC595_output(uint16_t data) { uint8_t n = 1; uint8_t i; - 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); -- cgit v1.2.3