From c6243da12f6643747a24a7aa761e103cc4a848c2 Mon Sep 17 00:00:00 2001 From: lalalademaxiya1 <2831039915@qq.com> Date: Wed, 15 Mar 2023 16:51:53 +0800 Subject: Update Keychron K Pro series keyboards --- keyboards/keychron/k7_pro/config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'keyboards/keychron/k7_pro/config.h') diff --git a/keyboards/keychron/k7_pro/config.h b/keyboards/keychron/k7_pro/config.h index 4fcdd90a9f..1703f746d1 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 -- cgit v1.2.3