diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-05 09:08:25 +0200 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 17:34:59 +0200 |
commit | 64d63ab42281318d891434fbc00277043298dd70 (patch) | |
tree | 03747a21a2a5a30df3e120e117bdd51ce99346e6 /keyboards/ergodox/keymaps | |
parent | 1e7585e76771e1a2d8ca733fc09c19f9fa0e903c (diff) | |
download | qmk_firmware-64d63ab42281318d891434fbc00277043298dd70.tar.gz qmk_firmware-64d63ab42281318d891434fbc00277043298dd70.tar.xz |
Remove the need to manually enable the visualizer
Diffstat (limited to 'keyboards/ergodox/keymaps')
-rw-r--r-- | keyboards/ergodox/keymaps/default/visualizer.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/default/visualizer.c b/keyboards/ergodox/keymaps/default/visualizer.c index 5ee49c9bc..73d864c64 100644 --- a/keyboards/ergodox/keymaps/default/visualizer.c +++ b/keyboards/ergodox/keymaps/default/visualizer.c @@ -110,13 +110,12 @@ bool display_logo(keyframe_animation_t* animation, visualizer_state_t* state) { // Don't worry, if the startup animation is long, you can use the keyboard like normal // during that time static keyframe_animation_t startup_animation = { - .num_frames = 3, + .num_frames = 2, .loop = false, .frame_lengths = {0, gfxMillisecondsToTicks(10000), 0}, .frame_functions = { display_logo, backlight_keyframe_animate_color, - enable_visualization }, }; @@ -140,7 +139,7 @@ static keyframe_animation_t suspend_animation = { }; static keyframe_animation_t resume_animation = { - .num_frames = 5, + .num_frames = 4, .loop = false, .frame_lengths = {0, 0, 0, gfxMillisecondsToTicks(10000), 0}, .frame_functions = { @@ -148,7 +147,6 @@ static keyframe_animation_t resume_animation = { backlight_keyframe_enable, display_logo, backlight_keyframe_animate_color, - enable_visualization, }, }; |