summaryrefslogtreecommitdiffstats
path: root/quantum/visualizer/led_keyframes.c
diff options
context:
space:
mode:
authorEthan Madden <crazeh.monkeh@gmail.com>2017-06-26 03:30:40 +0200
committerJack Humbert <jack.humb@gmail.com>2017-06-26 03:30:40 +0200
commit42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a (patch)
treedbaf2d2f0a3ea05cedd0c30310c3533225cdc27b /quantum/visualizer/led_keyframes.c
parent43579a80a7bba63ddf2b3eceb4d05a51727a7cbb (diff)
downloadqmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.tar.gz
qmk_firmware-42e6ecc36b65ad0f0d29c6c35c93b95078c11a1a.tar.xz
Whitefox LED control (#1432)
* use new grave_esc functionality * Port LED control from Ergodox Infinity to Whitefox
Diffstat (limited to 'quantum/visualizer/led_keyframes.c')
-rw-r--r--quantum/visualizer/led_keyframes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/visualizer/led_keyframes.c b/quantum/visualizer/led_keyframes.c
index 2f4e20043..7e6e5d1ab 100644
--- a/quantum/visualizer/led_keyframes.c
+++ b/quantum/visualizer/led_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 7
-#define NUM_COLS 7
+#define NUM_ROWS LED_NUM_ROWS
+#define NUM_COLS LED_NUM_COLS
static uint8_t crossfade_start_frame[NUM_ROWS][NUM_COLS];
static uint8_t crossfade_end_frame[NUM_ROWS][NUM_COLS];