aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ergodox
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ergodox')
-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 bbed4e989..8e684d991 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 = {
186}; 186};
187 187
188static keyframe_animation_t suspend_animation = { 188static keyframe_animation_t suspend_animation = {
189 .num_frames = 3, 189 .num_frames = 4,
190 .loop = false, 190 .loop = false,
191 .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, 191 .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0, 0},
192 .frame_functions = { 192 .frame_functions = {
193 lcd_keyframe_display_layer_text, 193 lcd_keyframe_display_layer_text,
194 backlight_keyframe_animate_color, 194 backlight_keyframe_animate_color,
195 keyframe_disable_lcd_and_backlight, 195 lcd_keyframe_disable,
196 lcd_keyframe_disable,
196 }, 197 },
197}; 198};
198 199
199static keyframe_animation_t resume_animation = { 200static keyframe_animation_t resume_animation = {
200 .num_frames = 4, 201 .num_frames = 5,
201 .loop = false, 202 .loop = false,
202 .frame_lengths = {0, 0, gfxMillisecondsToTicks(10000), 0}, 203 .frame_lengths = {0, 0, 0, gfxMillisecondsToTicks(10000), 0},
203 .frame_functions = { 204 .frame_functions = {
204 keyframe_enable_lcd_and_backlight, 205 lcd_keyframe_enable,
206 backlight_keyframe_enable,
205 display_logo, 207 display_logo,
206 backlight_keyframe_animate_color, 208 backlight_keyframe_animate_color,
207 enable_visualization, 209 enable_visualization,
diff --git a/keyboards/ergodox/keymaps/default/visualizer.c b/keyboards/ergodox/keymaps/default/visualizer.c
index 07f5a44ab..5ee49c9bc 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 = {
128}; 128};
129 129
130static keyframe_animation_t suspend_animation = { 130static keyframe_animation_t suspend_animation = {
131 .num_frames = 3, 131 .num_frames = 4,
132 .loop = false, 132 .loop = false,
133 .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, 133 .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0, 0},
134 .frame_functions = { 134 .frame_functions = {
135 lcd_keyframe_display_layer_text, 135 lcd_keyframe_display_layer_text,
136 backlight_keyframe_animate_color, 136 backlight_keyframe_animate_color,
137 keyframe_disable_lcd_and_backlight, 137 lcd_keyframe_disable,
138 lcd_keyframe_disable,
138 }, 139 },
139}; 140};
140 141
141static keyframe_animation_t resume_animation = { 142static keyframe_animation_t resume_animation = {
142 .num_frames = 4, 143 .num_frames = 5,
143 .loop = false, 144 .loop = false,
144 .frame_lengths = {0, 0, gfxMillisecondsToTicks(10000), 0}, 145 .frame_lengths = {0, 0, 0, gfxMillisecondsToTicks(10000), 0},
145 .frame_functions = { 146 .frame_functions = {
146 keyframe_enable_lcd_and_backlight, 147 lcd_keyframe_enable,
148 backlight_keyframe_enable,
147 display_logo, 149 display_logo,
148 backlight_keyframe_animate_color, 150 backlight_keyframe_animate_color,
149 enable_visualization, 151 enable_visualization,