summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k10_pro/config.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <2831039915@qq.com>2023-03-15 16:51:53 +0800
committerlalalademaxiya1 <2831039915@qq.com>2023-03-15 16:51:53 +0800
commitc6243da12f6643747a24a7aa761e103cc4a848c2 (patch)
tree82d29a9567d09c2d3845654c7e5b16b284b2bc30 /keyboards/keychron/k10_pro/config.h
parentee715fc26ade41e56f47e60527f17d5cbdfb584b (diff)
Update Keychron K Pro series keyboards
Diffstat (limited to 'keyboards/keychron/k10_pro/config.h')
-rw-r--r--keyboards/keychron/k10_pro/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/k10_pro/config.h b/keyboards/keychron/k10_pro/config.h
index 4a4c104d5d..0e53adab0b 100644
--- a/keyboards/keychron/k10_pro/config.h
+++ b/keyboards/keychron/k10_pro/config.h
@@ -44,6 +44,13 @@
#define LED_CAPS_LOCK_PIN A7
#define LED_PIN_ON_STATE 1
+/* 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
+
#ifdef KC_BLUETOOTH_ENABLE
/* Hardware configuration */
# define USB_BT_MODE_SELECT_PIN A10