diff options
author | Ryan <[email protected]> | 2023-10-23 03:32:27 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-22 18:32:27 +0100 |
commit | cf7d3435d7e2cfb8927a1c436320f67bc9914eeb (patch) | |
tree | 272161a65714e8ba457d14af17a691becb7211ef /keyboards/inland | |
parent | 1e9b299fb0511e82ae60a4b39a1b277f4ea21afd (diff) | |
download | qmk_firmware-cf7d3435d7e2cfb8927a1c436320f67bc9914eeb.tar.gz qmk_firmware-cf7d3435d7e2cfb8927a1c436320f67bc9914eeb.zip |
Add `_flush()` functions to LED drivers (#22308)
Diffstat (limited to 'keyboards/inland')
-rw-r--r-- | keyboards/inland/v83p/config.h | 6 | ||||
-rw-r--r-- | keyboards/inland/v83p/info.json | 2 | ||||
-rw-r--r-- | keyboards/inland/v83p/v83p.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/keyboards/inland/v83p/config.h b/keyboards/inland/v83p/config.h index c433b568dd..1cd93e2033 100644 --- a/keyboards/inland/v83p/config.h +++ b/keyboards/inland/v83p/config.h @@ -9,9 +9,9 @@ { C11 } /* I2C Config for LED Driver */ -#define DRIVER_COUNT 2 -#define DRIVER_ADDR_1 0b1110100 -#define DRIVER_ADDR_2 0b1110111 +#define SNLED27351_DRIVER_COUNT 2 +#define SNLED27351_I2C_ADDRESS_1 SNLED27351_I2C_ADDRESS_GND +#define SNLED27351_I2C_ADDRESS_2 SNLED27351_I2C_ADDRESS_VDDIO #define I2C1_SDA_PIN B7 #define I2C1_SCL_PIN B6 #define I2C1_SCL_PAL_MODE 4 diff --git a/keyboards/inland/v83p/info.json b/keyboards/inland/v83p/info.json index d7a418bccf..f738af3ef7 100644 --- a/keyboards/inland/v83p/info.json +++ b/keyboards/inland/v83p/info.json @@ -33,7 +33,7 @@ ] }, "rgb_matrix": { - "driver": "ckled2001", + "driver": "snled27351", "max_brightness": 180, "animations": { "solid_color": true, diff --git a/keyboards/inland/v83p/v83p.c b/keyboards/inland/v83p/v83p.c index 26ab62784a..3cb9c06cb0 100644 --- a/keyboards/inland/v83p/v83p.c +++ b/keyboards/inland/v83p/v83p.c @@ -5,7 +5,7 @@ // clang-format off #ifdef RGB_MATRIX_ENABLE -const ckled2001_led PROGMEM g_ckled2001_leds[RGB_MATRIX_LED_COUNT] = { +const snled27351_led_t PROGMEM g_snled27351_leds[RGB_MATRIX_LED_COUNT] = { /* Refer to IS31 manual for these locations * driver * | R location |