diff options
author | Ryan <fauxpark@gmail.com> | 2024-01-01 21:44:18 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-01 21:44:18 +1100 |
commit | 0a6913b68274c03302b09466a79b99efffd35e59 (patch) | |
tree | 60c1075ded48a51727f2d2e13a1450f34d370951 /quantum/rgb_matrix/rgb_matrix_drivers.c | |
parent | a88dd675bf3e1dedac2ceb7df779e0fb6931948a (diff) |
LED drivers: extract IS31FL3746A from IS31COMMON (#22637)
Diffstat (limited to 'quantum/rgb_matrix/rgb_matrix_drivers.c')
-rw-r--r-- | quantum/rgb_matrix/rgb_matrix_drivers.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quantum/rgb_matrix/rgb_matrix_drivers.c b/quantum/rgb_matrix/rgb_matrix_drivers.c index 0a41991efb..e3dd9beff7 100644 --- a/quantum/rgb_matrix/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix/rgb_matrix_drivers.c @@ -100,6 +100,14 @@ const rgb_matrix_driver_t rgb_matrix_driver = { .set_color_all = is31fl3745_set_color_all, }; +#elif defined(RGB_MATRIX_IS31FL3746A) +const rgb_matrix_driver_t rgb_matrix_driver = { + .init = is31fl3746a_init_drivers, + .flush = is31fl3746a_flush, + .set_color = is31fl3746a_set_color, + .set_color_all = is31fl3746a_set_color_all, +}; + #elif defined(IS31FLCOMMON) const rgb_matrix_driver_t rgb_matrix_driver = { .init = IS31FL_RGB_init_drivers, |