diff options
author | Florian Didron <fdidron@users.noreply.github.com> | 2019-05-06 09:53:18 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 09:53:18 +0900 |
commit | 2a70dc8eea79029a92eedc0d9d53b5341bb8271c (patch) | |
tree | 0ba8dd213fb281ce52f665f582aab33883760365 /quantum/rgb_matrix_drivers.c | |
parent | feb7c58f305eb66648cf9a12903caf5ca0f83c7f (diff) | |
parent | fd776b06b36497d196ab5e778104c476bba66d39 (diff) |
Merge pull request #36 from zsa/fix/ws2812_matrix_refs
Fixing incorrect usage of RGBLED_NUM in ws2812 driver when used with RGB Matrix (#5744)
Diffstat (limited to 'quantum/rgb_matrix_drivers.c')
-rw-r--r-- | quantum/rgb_matrix_drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/rgb_matrix_drivers.c b/quantum/rgb_matrix_drivers.c index 3814dd61fc..1d64dc9093 100644 --- a/quantum/rgb_matrix_drivers.c +++ b/quantum/rgb_matrix_drivers.c @@ -99,12 +99,12 @@ const rgb_matrix_driver_t rgb_matrix_driver = { #elif defined(WS2812) -extern LED_TYPE led[RGBLED_NUM]; +extern LED_TYPE led[DRIVER_LED_TOTAL]; static void flush( void ) { // Assumes use of RGB_DI_PIN - ws2812_setleds(led, RGBLED_NUM); + ws2812_setleds(led, DRIVER_LED_TOTAL); } static void init( void ) |