summaryrefslogtreecommitdiff
path: root/keyboards
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
parent1e7585e76771e1a2d8ca733fc09c19f9fa0e903c (diff)
Remove the need to manually enable the visualizer
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ergodox/infinity/visualizer.c6
-rw-r--r--keyboards/ergodox/keymaps/default/visualizer.c6
2 files changed, 4 insertions, 8 deletions
diff --git a/keyboards/ergodox/infinity/visualizer.c b/keyboards/ergodox/infinity/visualizer.c
index 8e684d9919..0897ea348b 100644
--- a/keyboards/ergodox/infinity/visualizer.c
+++ b/keyboards/ergodox/infinity/visualizer.c
@@ -136,13 +136,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
},
};
@@ -198,7 +197,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 = {
@@ -206,7 +205,6 @@ static keyframe_animation_t resume_animation = {
backlight_keyframe_enable,
display_logo,
backlight_keyframe_animate_color,
- enable_visualization,
},
};
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,
},
};