diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-05 08:40:39 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 18:34:59 +0300 |
| commit | 5815c5d317b02d688990980fdf01848e81247c21 (patch) | |
| tree | 9af8c38a2137e31b95582420683b85ab1e5cd452 /keyboards/ergodox/keymaps/default/visualizer.c | |
| parent | 05530b193f4d4476b01c2e7f882619a81194888a (diff) | |
| download | qmk_firmware-5815c5d317b02d688990980fdf01848e81247c21.tar.gz qmk_firmware-5815c5d317b02d688990980fdf01848e81247c21.zip | |
Move LCD keyframes to its own file
Diffstat (limited to 'keyboards/ergodox/keymaps/default/visualizer.c')
| -rw-r--r-- | keyboards/ergodox/keymaps/default/visualizer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/ergodox/keymaps/default/visualizer.c b/keyboards/ergodox/keymaps/default/visualizer.c index 305aaae15..ef87ac419 100644 --- a/keyboards/ergodox/keymaps/default/visualizer.c +++ b/keyboards/ergodox/keymaps/default/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 | #include "led.h" | 32 | #include "led.h" |
| 32 | 33 | ||
| @@ -122,7 +123,7 @@ static keyframe_animation_t lcd_layer_display = { | |||
| 122 | .num_frames = 1, | 123 | .num_frames = 1, |
| 123 | .loop = false, | 124 | .loop = false, |
| 124 | .frame_lengths = {gfxMillisecondsToTicks(0)}, | 125 | .frame_lengths = {gfxMillisecondsToTicks(0)}, |
| 125 | .frame_functions = {keyframe_display_layer_and_led_states} | 126 | .frame_functions = {lcd_keyframe_display_layer_and_led_states} |
| 126 | }; | 127 | }; |
| 127 | 128 | ||
| 128 | static keyframe_animation_t suspend_animation = { | 129 | static keyframe_animation_t suspend_animation = { |
| @@ -130,7 +131,7 @@ static keyframe_animation_t suspend_animation = { | |||
| 130 | .loop = false, | 131 | .loop = false, |
| 131 | .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, | 132 | .frame_lengths = {0, gfxMillisecondsToTicks(1000), 0}, |
| 132 | .frame_functions = { | 133 | .frame_functions = { |
| 133 | keyframe_display_layer_text, | 134 | lcd_keyframe_display_layer_text, |
| 134 | keyframe_animate_backlight_color, | 135 | keyframe_animate_backlight_color, |
| 135 | keyframe_disable_lcd_and_backlight, | 136 | keyframe_disable_lcd_and_backlight, |
| 136 | }, | 137 | }, |
