diff options
author | lalalademaxiya1 <2831039915@qq.com> | 2023-03-15 16:51:53 +0800 |
---|---|---|
committer | lalalademaxiya1 <2831039915@qq.com> | 2023-03-15 16:51:53 +0800 |
commit | c6243da12f6643747a24a7aa761e103cc4a848c2 (patch) | |
tree | 82d29a9567d09c2d3845654c7e5b16b284b2bc30 /keyboards/keychron/k5_pro/ansi | |
parent | ee715fc26ade41e56f47e60527f17d5cbdfb584b (diff) |
Update Keychron K Pro series keyboards
Diffstat (limited to 'keyboards/keychron/k5_pro/ansi')
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/rgb/config.h | 7 | ||||
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/rgb/rgb.c | 2 | ||||
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/white/config.h | 7 | ||||
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/white/white.c | 2 |
4 files changed, 2 insertions, 16 deletions
diff --git a/keyboards/keychron/k5_pro/ansi/rgb/config.h b/keyboards/keychron/k5_pro/ansi/rgb/config.h index 7c0deb60e1..83294b9d52 100755 --- a/keyboards/keychron/k5_pro/ansi/rgb/config.h +++ b/keyboards/keychron/k5_pro/ansi/rgb/config.h @@ -25,13 +25,6 @@ # define DRIVER_2_LED_TOTAL 50 # define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) -/* 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 30U - /* Set to infinit, which is use in USB mode by default */ # define RGB_MATRIX_TIMEOUT RGB_MATRIX_TIMEOUT_INFINITE diff --git a/keyboards/keychron/k5_pro/ansi/rgb/rgb.c b/keyboards/keychron/k5_pro/ansi/rgb/rgb.c index 4eb555ed64..f20c3d1e97 100755 --- a/keyboards/keychron/k5_pro/ansi/rgb/rgb.c +++ b/keyboards/keychron/k5_pro/ansi/rgb/rgb.c @@ -19,7 +19,7 @@ // clang-format off #ifdef RGB_MATRIX_ENABLE const ckled2001_led g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = { -/* Refer to IS31 manual for these locations +/* Refer to CKLED2001 manual for these locations * driver * | R location * | | G location diff --git a/keyboards/keychron/k5_pro/ansi/white/config.h b/keyboards/keychron/k5_pro/ansi/white/config.h index 5c7351d955..3c2d99a4cf 100755 --- a/keyboards/keychron/k5_pro/ansi/white/config.h +++ b/keyboards/keychron/k5_pro/ansi/white/config.h @@ -23,13 +23,6 @@ # define DRIVER_1_LED_TOTAL 108 # define LED_MATRIX_LED_COUNT DRIVER_1_LED_TOTAL -/* 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 30U - /* Set to infinit, which is use in USB mode by default */ # define LED_MATRIX_TIMEOUT LED_MATRIX_TIMEOUT_INFINITE diff --git a/keyboards/keychron/k5_pro/ansi/white/white.c b/keyboards/keychron/k5_pro/ansi/white/white.c index 2826b0249b..214f7a4238 100755 --- a/keyboards/keychron/k5_pro/ansi/white/white.c +++ b/keyboards/keychron/k5_pro/ansi/white/white.c @@ -19,7 +19,7 @@ // clang-format off #ifdef LED_MATRIX_ENABLE const ckled2001_led g_ckled2001_leds[LED_MATRIX_LED_COUNT] = { -/* Refer to IS31 manual for these locations +/* Refer to CKLED2001 manual for these locations * driver * | LED address * | | */ |