diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-07-09 20:35:33 +0300 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-10 09:01:59 -0400 |
commit | 9d8279960d8784d5602025f6845b0af92db12848 (patch) | |
tree | a69982fe08b9c2b01cd958aeba645cd649e10c86 /quantum/visualizer/led_backlight_keyframes.c | |
parent | 4da3b19603255115f71812964383ee7b518637be (diff) | |
download | qmk_firmware-9d8279960d8784d5602025f6845b0af92db12848.tar.gz qmk_firmware-9d8279960d8784d5602025f6845b0af92db12848.zip |
Make it easier to use drivers
Diffstat (limited to 'quantum/visualizer/led_backlight_keyframes.c')
-rw-r--r-- | quantum/visualizer/led_backlight_keyframes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/led_backlight_keyframes.c b/quantum/visualizer/led_backlight_keyframes.c index d2921a391a..eb3f5561d8 100644 --- a/quantum/visualizer/led_backlight_keyframes.c +++ b/quantum/visualizer/led_backlight_keyframes.c @@ -41,8 +41,8 @@ static void keyframe_fade_all_leds_from_to(keyframe_animation_t* animation, uint } // TODO: Should be customizable per keyboard -#define NUM_ROWS LED_NUM_ROWS -#define NUM_COLS LED_NUM_COLS +#define NUM_ROWS LED_HEIGHT +#define NUM_COLS LED_WIDTH static uint8_t crossfade_start_frame[NUM_ROWS][NUM_COLS]; static uint8_t crossfade_end_frame[NUM_ROWS][NUM_COLS]; |