Skip to content

Commit

Permalink
Add support for up to 4 IS31FL3733 drivers (qmk#12342)
Browse files Browse the repository at this point in the history
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
  • Loading branch information
2 people authored and mechlovin committed Jul 30, 2021
1 parent b271d5b commit de80463
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/feature_led_matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Here is an example using 2 drivers.
// 0b1110111 AD <-> VCC
// 0b1110101 AD <-> SCL
// 0b1110110 AD <-> SDA
#define DRIVER_ADDR_1 0b1110100
#define DRIVER_ADDR_2 0b1110110
#define LED_DRIVER_ADDR_1 0b1110100
#define LED_DRIVER_ADDR_2 0b1110110

#define LED_DRIVER_COUNT 2
#define LED_DRIVER_1_LED_TOTAL 25
Expand Down
2 changes: 1 addition & 1 deletion quantum/led_matrix_drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const led_matrix_driver_t led_matrix_driver = {
.set_value = IS31FL3731_set_value,
.set_value_all = IS31FL3731_set_value_all,
# else
.set_value = IS31FL3733_set_value,
.set_value = IS31FL3733_set_value,
.set_value_all = IS31FL3733_set_value_all,
# endif
};
Expand Down
6 changes: 3 additions & 3 deletions quantum/rgb_matrix_drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ static void flush(void) {
}

const rgb_matrix_driver_t rgb_matrix_driver = {
.init = init,
.flush = flush,
.set_color = IS31FL3733_set_color,
.init = init,
.flush = flush,
.set_color = IS31FL3733_set_color,
.set_color_all = IS31FL3733_set_color_all,
};
# elif defined(IS31FL3737)
Expand Down

0 comments on commit de80463

Please sign in to comment.