summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/q5_pro/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/q5_pro/matrix.c')
-rwxr-xr-xkeyboards/keychron/q5_pro/matrix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/keychron/q5_pro/matrix.c b/keyboards/keychron/q5_pro/matrix.c
index b5e782dd53..ee2d24e612 100755
--- a/keyboards/keychron/q5_pro/matrix.c
+++ b/keyboards/keychron/q5_pro/matrix.c
@@ -53,7 +53,7 @@ static void HC595_output(uint32_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);