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/rgb | |
parent | ee715fc26ade41e56f47e60527f17d5cbdfb584b (diff) |
Update Keychron K Pro series keyboards
Diffstat (limited to 'keyboards/keychron/k5_pro/ansi/rgb')
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/rgb/config.h | 7 | ||||
-rwxr-xr-x | keyboards/keychron/k5_pro/ansi/rgb/rgb.c | 2 |
2 files changed, 1 insertions, 8 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 |