diff options
Diffstat (limited to 'keyboards/keychron/k1_pro/config.h')
-rwxr-xr-x | keyboards/keychron/k1_pro/config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/keyboards/keychron/k1_pro/config.h b/keyboards/keychron/k1_pro/config.h index 23abae9d4d..ace11ded59 100755 --- a/keyboards/keychron/k1_pro/config.h +++ b/keyboards/keychron/k1_pro/config.h @@ -1,4 +1,4 @@ -/* Copyright 2021 @ Keychron (https://www.keychron.com) +/* Copyright 2023 @ Keychron (https://www.keychron.com) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,6 +40,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 |