Rename DRIVER_ADDR_n defines (#22200)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
//rgb matrix setting
|
||||
#define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND
|
||||
#define DRIVER_ADDR_2 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
||||
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 32
|
||||
#define DRIVER_2_LED_TOTAL 36
|
||||
|
||||
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
//rgb matrix setting
|
||||
#define DRIVER_ADDR_1 IS31FL3741_I2C_ADDRESS_SDA
|
||||
#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_SDA
|
||||
#define IS31FL3741_DRIVER_COUNT 1
|
||||
#define RGB_MATRIX_LED_COUNT 66
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
//rgb matrix setting
|
||||
#define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_DRIVER_COUNT 1
|
||||
#define RGB_MATRIX_LED_COUNT 25
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
//rgb matrix setting
|
||||
#define DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_GND
|
||||
#define DRIVER_ADDR_2 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
||||
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 44
|
||||
#define DRIVER_2_LED_TOTAL 34
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
//#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
|
||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
|
||||
//#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
|
||||
#define DRIVER_ADDR_1 IS31FL3741_I2C_ADDRESS_SDA
|
||||
#define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_SDA
|
||||
#define IS31FL3741_DRIVER_COUNT 1
|
||||
#define RGB_MATRIX_LED_COUNT 91
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
|
||||
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
#ifdef LED_MATRIX_ENABLE
|
||||
#define LED_DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C1_SCL_PIN B10
|
||||
#define I2C1_SDA_PIN B11
|
||||
|
||||
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#pragma once
|
||||
|
||||
#ifdef LED_MATRIX_ENABLE
|
||||
#define LED_DRIVER_ADDR_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_SDA
|
||||
#define I2C_DRIVER I2CD2
|
||||
#define I2C1_SCL_PIN B10
|
||||
#define I2C1_SDA_PIN B11
|
||||
|
||||
Reference in New Issue
Block a user