Relocate LED driver init code (#22365)
This commit is contained in:
parent
eac8e67888
commit
b52aca0af8
100 changed files with 795 additions and 798 deletions
|
@ -51,7 +51,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
|
||||
#define IS31FL3731_I2C_ADDRESS_2 IS31FL3731_I2C_ADDRESS_VCC
|
||||
#define IS31FL3731_DRIVER_COUNT 2
|
||||
#define RGB_MATRIX_LED_COUNT 67
|
||||
#define IS31FL3731_LED_COUNT 67
|
||||
|
||||
#define RGB_BACKLIGHT_ENABLED 1
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31fl3731_led_t PROGMEM g_is31fl3731_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
|
||||
{ 0, C2_1, C3_1, C4_1 },
|
||||
{ 0, C1_1, C3_2, C4_2 },
|
||||
{ 0, C1_2, C2_2, C4_3 },
|
||||
|
|
|
@ -81,7 +81,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// WT_RGB IS31FL3741 driver code
|
||||
# define IS31FL3741_I2C_ADDRESS_1 IS31FL3741_I2C_ADDRESS_GND
|
||||
# define IS31FL3741_DRIVER_COUNT 1
|
||||
# define RGB_MATRIX_LED_COUNT 98
|
||||
# define IS31FL3741_LED_COUNT 98
|
||||
|
||||
# define RGB_BACKLIGHT_ENABLED 1
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
const is31fl3741_led_t PROGMEM g_is31fl3741_leds[RGB_MATRIX_LED_COUNT] = {
|
||||
const is31fl3741_led_t PROGMEM g_is31fl3741_leds[IS31FL3741_LED_COUNT] = {
|
||||
{0, CS18_SW1, CS17_SW1, CS16_SW1},
|
||||
{0, CS18_SW2, CS17_SW2, CS16_SW2},
|
||||
{0, CS18_SW3, CS17_SW3, CS16_SW3},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue