summaryrefslogtreecommitdiffstats
path: root/keyboards/keychron/k6_pro/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/keychron/k6_pro/config.h')
-rw-r--r--keyboards/keychron/k6_pro/config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/keychron/k6_pro/config.h b/keyboards/keychron/k6_pro/config.h
index af5ab56dd5..04f320780d 100644
--- a/keyboards/keychron/k6_pro/config.h
+++ b/keyboards/keychron/k6_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
@@ -60,7 +67,6 @@
# define HOST_DEVICES_COUNT 3
-
# if defined(RGB_MATRIX_ENABLE) || defined(LED_MATRIX_ENABLE)
# define LED_DRIVER_SHUTDOWN_PIN C14