|
@@ -72,24 +72,6 @@ static visualizer_user_data_t user_data_keyboard = {
|
|
|
_Static_assert(sizeof(visualizer_user_data_t) <= VISUALIZER_USER_DATA_SIZE,
|
|
|
"Please increase the VISUALIZER_USER_DATA_SIZE");
|
|
|
|
|
|
-bool display_logo(keyframe_animation_t* animation, visualizer_state_t* state) {
|
|
|
- (void)state;
|
|
|
- (void)animation;
|
|
|
- (void)state;
|
|
|
-
|
|
|
-
|
|
|
- gdispClear(White);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- gdispGBlitArea(GDISP, 0, 0, 128, 32, 0, 0, 128, (pixel_t*)resource_lcd_logo);
|
|
|
-
|
|
|
- return false;
|
|
|
-}
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -99,7 +81,7 @@ static keyframe_animation_t startup_animation = {
|
|
|
.loop = false,
|
|
|
.frame_lengths = {0, gfxMillisecondsToTicks(10000), 0},
|
|
|
.frame_functions = {
|
|
|
- display_logo,
|
|
|
+ lcd_keyframe_draw_logo,
|
|
|
backlight_keyframe_animate_color,
|
|
|
},
|
|
|
};
|
|
@@ -162,7 +144,7 @@ static keyframe_animation_t resume_animation = {
|
|
|
.frame_functions = {
|
|
|
lcd_keyframe_enable,
|
|
|
backlight_keyframe_enable,
|
|
|
- display_logo,
|
|
|
+ lcd_keyframe_draw_logo,
|
|
|
backlight_keyframe_animate_color,
|
|
|
},
|
|
|
};
|