mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 23:12:57 +00:00
Rename DRIVER_ADDR_n defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -35,8 +35,8 @@
|
||||
|
||||
/* I2C Config for LED Driver */
|
||||
#define SNLED27351_DRIVER_COUNT 2
|
||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define I2C1_SCL_PAL_MODE 4
|
||||
#define I2C1_OPMODE OPMODE_I2C
|
||||
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
|
||||
|
||||
@@ -32,9 +32,9 @@
|
||||
|
||||
/* I2C Config for LED Driver */
|
||||
#define SNLED27351_DRIVER_COUNT 3
|
||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define DRIVER_ADDR_3 SNLED27351_I2C_ADDRESS_SDA
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define SNLED27351_I2C_ADDRESS_3 SNLED27351_I2C_ADDRESS_SDA
|
||||
|
||||
#define I2C1_SCL_PAL_MODE 4
|
||||
#define I2C1_OPMODE OPMODE_I2C
|
||||
|
||||
@@ -32,8 +32,8 @@
|
||||
|
||||
/* I2C Config for LED Driver */
|
||||
#define SNLED27351_DRIVER_COUNT 2
|
||||
#define DRIVER_ADDR_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define DRIVER_ADDR_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND
|
||||
#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO
|
||||
#define I2C1_SCL_PAL_MODE 4
|
||||
#define I2C1_OPMODE OPMODE_I2C
|
||||
#define I2C1_CLOCK_SPEED 400000 /* 400000 */
|
||||
|
||||
Reference in New Issue
Block a user