diff options
author | lokher <lokher@gmail.com> | 2023-08-05 21:36:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-05 21:36:52 +0800 |
commit | af8d6b4a2887f6a0946db3446eaa81b5174a6334 (patch) | |
tree | 5c794000d8412ffacd896108125ebb0271f11341 /keyboards/keychron/k1_pro/matrix.c | |
parent | c7d1774a62cefa04e180308aecdf252facc6b9b6 (diff) | |
parent | 4832cd381ce02d3f2da48721e61212fa8ff83f24 (diff) |
Merge pull request #156 from lalalademaxiya1/keychron_hc595_driver_fix
Updated matrix.c of some boards
Diffstat (limited to 'keyboards/keychron/k1_pro/matrix.c')
-rw-r--r-- | keyboards/keychron/k1_pro/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |