Skip to content

Commit

Permalink
fixup! refactor(core): extract framebuffer queue for reuse
Browse files Browse the repository at this point in the history
  • Loading branch information
TychoVrahe committed Dec 10, 2024
1 parent 9d02fa6 commit d89736b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/embed/io/display/st-7789/display_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ bool display_get_frame_buffer(display_fb_info_t *fb) {
return true;
}

#ifdef BOARDLOADER
// Copies the frame buffer with the given index to the display
static void copy_fb_to_display(uint8_t index) {
uint16_t *fb = (uint16_t *)get_fb_ptr(index);
Expand All @@ -190,6 +191,7 @@ static void wait_for_te_signal(void) {
while (GPIO_PIN_RESET == HAL_GPIO_ReadPin(DISPLAY_TE_PORT, DISPLAY_TE_PIN)) {
}
}
#endif

void display_refresh(void) {
display_driver_t *drv = &g_display_driver;
Expand Down

0 comments on commit d89736b

Please sign in to comment.