summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k7_pro/config.h
diff options
context:
space:
mode:
authorlalalademaxiya1 <66767061+lalalademaxiya1@users.noreply.github.com>2023-03-16 16:48:17 +0800
committerGitHub <noreply@github.com>2023-03-16 16:48:17 +0800
commit8ab6b59ccadf3b6d7a064b1b51f4a2aef073ad38 (patch)
tree94af982a3db9626b064431da6d8dcc332224b4fc /keyboards/keychron/k7_pro/config.h
parent77cbe1469a6a83ef00a5eaffce318a176bfacdd4 (diff)
parent0f35f0e2ed1343765422bc9abf4fe240768b4130 (diff)
Merge pull request #108 from lalalademaxiya1/bt_playground
Update Keychron K Pro series keyboards
Diffstat (limited to 'keyboards/keychron/k7_pro/config.h')
-rw-r--r--keyboards/keychron/k7_pro/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/keyboards/keychron/k7_pro/config.h b/keyboards/keychron/k7_pro/config.h
index 93e77c7951..eae06b1a2f 100644
--- a/keyboards/keychron/k7_pro/config.h
+++ b/keyboards/keychron/k7_pro/config.h
@@ -47,6 +47,13 @@
#define LED_CAPS_LOCK_PIN A0
#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