summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ergodox/infinity/visualizer.c14
-rw-r--r--keyboards/ergodox/keymaps/default/visualizer.c14
2 files changed, 16 insertions, 12 deletions
diff --git a/keyboards/ergodox/infinity/visualizer.c b/keyboards/ergodox/infinity/visualizer.c
index bbed4e9897..8e684d9919 100644
--- a/keyboards/ergodox/infinity/visualizer.c
+++ b/keyboards/ergodox/infinity/visualizer.c
@@ -186,22 +186,24 @@ static keyframe_animation_t lcd_bitmap_leds_animation = {
};
static keyframe_animation_t suspend_animation = {
- .num_frames = 3,
+ .num_frames = 4,
.loop = false,
- .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0},
+ .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0, 0},
.frame_functions = {
lcd_keyframe_display_layer_text,
backlight_keyframe_animate_color,
- keyframe_disable_lcd_and_backlight,
+ lcd_keyframe_disable,
+ lcd_keyframe_disable,
},
};
static keyframe_animation_t resume_animation = {
- .num_frames = 4,
+ .num_frames = 5,
.loop = false,
- .frame_lengths = {0, 0, gfxMillisecondsToTicks(10000), 0},
+ .frame_lengths = {0, 0, 0, gfxMillisecondsToTicks(10000), 0},
.frame_functions = {
- keyframe_enable_lcd_and_backlight,
+ lcd_keyframe_enable,
+ 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 07f5a44ab3..5ee49c9bc2 100644
--- a/keyboards/ergodox/keymaps/default/visualizer.c
+++ b/keyboards/ergodox/keymaps/default/visualizer.c
@@ -128,22 +128,24 @@ static keyframe_animation_t lcd_layer_display = {
};
static keyframe_animation_t suspend_animation = {
- .num_frames = 3,
+ .num_frames = 4,
.loop = false,
- .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0},
+ .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0, 0},
.frame_functions = {
lcd_keyframe_display_layer_text,
backlight_keyframe_animate_color,
- keyframe_disable_lcd_and_backlight,
+ lcd_keyframe_disable,
+ lcd_keyframe_disable,
},
};
static keyframe_animation_t resume_animation = {
- .num_frames = 4,
+ .num_frames = 5,
.loop = false,
- .frame_lengths = {0, 0, gfxMillisecondsToTicks(10000), 0},
+ .frame_lengths = {0, 0, 0, gfxMillisecondsToTicks(10000), 0},
.frame_functions = {
- keyframe_enable_lcd_and_backlight,
+ lcd_keyframe_enable,
+ backlight_keyframe_enable,
display_logo,
backlight_keyframe_animate_color,
enable_visualization,