Rename CKLED2001 driver to SNLED27351 (#22071)

This commit is contained in:
Ryan 2023-10-04 20:10:05 +11:00 committed by GitHub
parent 24a795d7a9
commit c0f16be50f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
259 changed files with 1726 additions and 1720 deletions

View file

@ -32,9 +32,9 @@
#define DIP_SWITCH_MATRIX_GRID { {5,4} }
/* 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
@ -43,7 +43,7 @@
#define I2C1_TIMINGR_SCLH 15U
#define I2C1_TIMINGR_SCLL 51U
#define CKLED2001_PHASE_CHANNEL CKLED2001_MSKPHASE_9CHANNEL
#define SNLED27351_PHASE_CHANNEL SNLED27351_MSKPHASE_9CHANNEL
/* turn off effects when suspended */
#define RGB_DISABLE_WHEN_USB_SUSPENDED