From d89736b87be734905861d797cf3b3c12e50022db Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 10 Dec 2024 13:41:59 +0100 Subject: [PATCH] fixup! refactor(core): extract framebuffer queue for reuse --- core/embed/io/display/st-7789/display_fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/embed/io/display/st-7789/display_fb.c b/core/embed/io/display/st-7789/display_fb.c index d67c3d6f03..171313763d 100644 --- a/core/embed/io/display/st-7789/display_fb.c +++ b/core/embed/io/display/st-7789/display_fb.c @@ -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); @@ -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;