summaryrefslogtreecommitdiff
path: root/quantum/visualizer/led_backlight_keyframes.c
diff options
context:
space:
mode:
authorFred Sundvik2017-07-09 20:35:33 +0300
committerJack Humbert2017-07-10 09:01:59 -0400
commit9d8279960d8784d5602025f6845b0af92db12848 (patch)
treea69982fe08b9c2b01cd958aeba645cd649e10c86 /quantum/visualizer/led_backlight_keyframes.c
parent4da3b19603255115f71812964383ee7b518637be (diff)
Make it easier to use drivers
Diffstat (limited to 'quantum/visualizer/led_backlight_keyframes.c')
-rw-r--r--quantum/visualizer/led_backlight_keyframes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/led_backlight_keyframes.c b/quantum/visualizer/led_backlight_keyframes.c
index d2921a391..eb3f5561d 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];