summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q3
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-10-21 01:20:56 +0000
committerQMK Bot <hello@qmk.fm>2022-10-21 01:20:56 +0000
commit6e55aa42faf19f59fd62923859b320b39dc370a4 (patch)
tree4077a9bcdaf1ff810188a5c87f4268d811e29b2d /keyboards/keychron/q3
parentb0982f85e05cf63125d95842c9f06cc7ba509e72 (diff)
parent2c3859fbf7f4253dc8d3751063e5e64145cd2a8c (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/keychron/q3')
-rw-r--r--keyboards/keychron/q3/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/q3/config.h b/keyboards/keychron/q3/config.h
index 59b9e0f54b..4c62c589bd 100644
--- a/keyboards/keychron/q3/config.h
+++ b/keyboards/keychron/q3/config.h
@@ -31,6 +31,13 @@
#define DRIVER_ADDR_1 0b1110111
#define DRIVER_ADDR_2 0b1110100
+/* Increase I2C speed to 1000 KHz */
+#define I2C1_TIMINGR_PRESC 0U
+#define I2C1_TIMINGR_SCLDEL 3U
+#define I2C1_TIMINGR_SDADEL 0U
+#define I2C1_TIMINGR_SCLH 15U
+#define I2C1_TIMINGR_SCLL 51U
+
/* Scan phase of led driver set as MSKPHASE_9CHANNEL(defined as 0x03 in CKLED2001.h) */
#define PHASE_CHANNEL MSKPHASE_9CHANNEL