forked from mirrors/qmk_userspace
Add automatic flush for the LCD screen
This commit is contained in:
parent
995002fa91
commit
3eb8785e87
5 changed files with 5 additions and 9 deletions
|
|
@ -262,6 +262,7 @@ LLDSPEC void gdisp_lld_blit_area(GDisplay *g) {
|
|||
srcbit++;
|
||||
}
|
||||
}
|
||||
g->flags |= GDISP_FLG_NEEDFLUSH;
|
||||
}
|
||||
|
||||
#if GDISP_NEED_CONTROL && GDISP_HARDWARE_CONTROL
|
||||
|
|
|
|||
|
|
@ -127,8 +127,6 @@ bool display_logo(keyframe_animation_t* animation, visualizer_state_t* state) {
|
|||
// if you have full screen image, then just use 128 and 32 for both source and target dimensions
|
||||
gdispGBlitArea(GDISP, 0, 0, 128, 32, 0, 0, 128, (pixel_t*)image_data_lcd_logo);
|
||||
|
||||
// Always remember to flush the display
|
||||
gdispFlush();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -101,8 +101,6 @@ bool display_logo(keyframe_animation_t* animation, visualizer_state_t* state) {
|
|||
// if you have full screen image, then just use 128 and 32 for both source and target dimensions
|
||||
gdispGBlitArea(GDISP, 0, 0, 128, 32, 0, 0, 128, (pixel_t*)image_data_lcd_logo);
|
||||
|
||||
// Always remember to flush the display
|
||||
gdispFlush();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue