diff options
author | Ryan <fauxpark@gmail.com> | 2023-10-04 20:10:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 20:10:05 +1100 |
commit | c0f16be50fec33cdb30386ac512efb900f3f7470 (patch) | |
tree | 93bb5024f5ff32f81e86d3bf4ea4ff243e239c35 /keyboards/keychron/q7/config.h | |
parent | 24a795d7a96722239be3a969201200602208aeb2 (diff) |
Rename CKLED2001 driver to SNLED27351 (#22071)
Diffstat (limited to 'keyboards/keychron/q7/config.h')
-rw-r--r-- | keyboards/keychron/q7/config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/keychron/q7/config.h b/keyboards/keychron/q7/config.h index 125e17a3da..9593196149 100644 --- a/keyboards/keychron/q7/config.h +++ b/keyboards/keychron/q7/config.h @@ -17,9 +17,9 @@ #pragma once /* RGB Matrix Driver Configuration */ -#define CKLED2001_DRIVER_COUNT 2 -#define DRIVER_ADDR_1 CKLED2001_I2C_ADDRESS_VDDIO -#define DRIVER_ADDR_2 CKLED2001_I2C_ADDRESS_GND +#define SNLED27351_DRIVER_COUNT 2 +#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_VDDIO +#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_GND /* Increase I2C speed to 1000 KHz */ #define I2C1_TIMINGR_PRESC 0U @@ -28,8 +28,8 @@ #define I2C1_TIMINGR_SCLH 15U #define I2C1_TIMINGR_SCLL 51U -#define CKLED2001_PHASE_CHANNEL CKLED2001_MSKPHASE_9CHANNEL -#define CKLED2001_CURRENT_TUNE \ +#define SNLED27351_PHASE_CHANNEL SNLED27351_MSKPHASE_9CHANNEL +#define SNLED27351_CURRENT_TUNE \ { 0xF8, 0xF8, 0x80, 0xF8, 0xF8, 0x80, 0xF8, 0xF8, 0x80, 0xF8, 0xF8, 0x80 } /* DIP switch */ |