diff options
Diffstat (limited to 'keyboards/ergodox/infinity/visualizer.c')
| -rw-r--r-- | keyboards/ergodox/infinity/visualizer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keyboards/ergodox/infinity/visualizer.c b/keyboards/ergodox/infinity/visualizer.c index c7afd9384..3abed08db 100644 --- a/keyboards/ergodox/infinity/visualizer.c +++ b/keyboards/ergodox/infinity/visualizer.c | |||
| @@ -27,6 +27,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #endif | 27 | #endif |
| 28 | 28 | ||
| 29 | #include "visualizer.h" | 29 | #include "visualizer.h" |
| 30 | #include "lcd_keyframes.h" | ||
| 30 | #include "system/serial_link.h" | 31 | #include "system/serial_link.h" |
| 31 | 32 | ||
| 32 | // To generate an image array like this | 33 | // To generate an image array like this |
| @@ -173,14 +174,14 @@ static keyframe_animation_t lcd_bitmap_animation = { | |||
| 173 | .num_frames = 1, | 174 | .num_frames = 1, |
| 174 | .loop = false, | 175 | .loop = false, |
| 175 | .frame_lengths = {gfxMillisecondsToTicks(0)}, | 176 | .frame_lengths = {gfxMillisecondsToTicks(0)}, |
| 176 | .frame_functions = {keyframe_display_layer_bitmap}, | 177 | .frame_functions = {lcd_keyframe_display_layer_bitmap}, |
| 177 | }; | 178 | }; |
| 178 | 179 | ||
| 179 | static keyframe_animation_t lcd_bitmap_leds_animation = { | 180 | static keyframe_animation_t lcd_bitmap_leds_animation = { |
| 180 | .num_frames = 2, | 181 | .num_frames = 2, |
| 181 | .loop = true, | 182 | .loop = true, |
| 182 | .frame_lengths = {gfxMillisecondsToTicks(2000), gfxMillisecondsToTicks(2000)}, | 183 | .frame_lengths = {gfxMillisecondsToTicks(2000), gfxMillisecondsToTicks(2000)}, |
| 183 | .frame_functions = {keyframe_display_layer_bitmap, keyframe_display_led_states}, | 184 | .frame_functions = {lcd_keyframe_display_layer_bitmap, lcd_keyframe_display_led_states}, |
| 184 | }; | 185 | }; |
| 185 | 186 | ||
| 186 | static keyframe_animation_t suspend_animation = { | 187 | static keyframe_animation_t suspend_animation = { |
| @@ -188,7 +189,7 @@ static keyframe_animation_t suspend_animation = { | |||
| 188 | .loop = false, | 189 | .loop = false, |
| 189 | .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, | 190 | .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, |
| 190 | .frame_functions = { | 191 | .frame_functions = { |
| 191 | keyframe_display_layer_text, | 192 | lcd_keyframe_display_layer_text, |
| 192 | keyframe_animate_backlight_color, | 193 | keyframe_animate_backlight_color, |
| 193 | keyframe_disable_lcd_and_backlight, | 194 | keyframe_disable_lcd_and_backlight, |
| 194 | }, | 195 | }, |
