summaryrefslogtreecommitdiff
path: root/keyboards/ergodox/keymaps/default/visualizer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-05 10:08:25 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-09 18:34:59 +0300
commit64d63ab42281318d891434fbc00277043298dd70 (patch)
tree03747a21a2a5a30df3e120e117bdd51ce99346e6 /keyboards/ergodox/keymaps/default/visualizer.c
parent1e7585e76771e1a2d8ca733fc09c19f9fa0e903c (diff)
Remove the need to manually enable the visualizer
Diffstat (limited to 'keyboards/ergodox/keymaps/default/visualizer.c')
-rw-r--r--keyboards/ergodox/keymaps/default/visualizer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/default/visualizer.c b/keyboards/ergodox/keymaps/default/visualizer.c
index 5ee49c9bc2..73d864c646 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,
},
};