diff options
author | lokher <lokher@gmail.com> | 2023-11-02 14:35:25 +0800 |
---|---|---|
committer | lokher <lokher@gmail.com> | 2023-11-02 14:35:25 +0800 |
commit | 6fec73334aa2161ec66a161c569391e58b707aeb (patch) | |
tree | 738b2340798601c623699dd2a351efec2c031fce | |
parent | 29bf1b3408cafe85c33fe90109ba9b8041f455de (diff) |
fix q8_pro matrix issue
-rwxr-xr-x | keyboards/keychron/q8_pro/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/keychron/q8_pro/config.h b/keyboards/keychron/q8_pro/config.h index cff892ec8d..1ae0db9dde 100755 --- a/keyboards/keychron/q8_pro/config.h +++ b/keyboards/keychron/q8_pro/config.h @@ -20,7 +20,8 @@ #define RGB_DISABLE_WHEN_USB_SUSPENDED /* DIP switch */ -#define DIP_SWITCH_PINS { A8 } +#define DIP_SWITCH_PINS \ + { A8 } /* Increase I2C speed to 1000 KHz */ #define I2C1_TIMINGR_PRESC 0U @@ -82,6 +83,7 @@ #endif /* HC595 Driver configuretion */ +#define HC595_OFFSET_INDEX 1 #define HC595_END_INDEX 14 /* Factory test keys */ |