From f779a062b58970a6c48afa1ec5ce6175536f58d4 Mon Sep 17 00:00:00 2001 From: tychovrahe Date: Tue, 10 Dec 2024 10:41:11 +0100 Subject: [PATCH] fixup! feat(core): display driver for T3W1 --- core/embed/io/display/ltdc_dsi/display_driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/embed/io/display/ltdc_dsi/display_driver.c b/core/embed/io/display/ltdc_dsi/display_driver.c index ab45d30383..219948d784 100644 --- a/core/embed/io/display/ltdc_dsi/display_driver.c +++ b/core/embed/io/display/ltdc_dsi/display_driver.c @@ -181,7 +181,8 @@ static void display_dsi_init(void) { __HAL_DSI_ENABLE(&drv->hlcd_dsi); } -void display_ltdc_config_layer(LTDC_HandleTypeDef *hltdc, uint32_t fb_addr) { +static void display_ltdc_config_layer(LTDC_HandleTypeDef *hltdc, + uint32_t fb_addr) { LTDC_LayerCfgTypeDef LayerCfg = {0}; /* LTDC layer configuration */ @@ -208,7 +209,7 @@ void display_ltdc_config_layer(LTDC_HandleTypeDef *hltdc, uint32_t fb_addr) { HAL_LTDC_ConfigLayer(hltdc, &LayerCfg, LTDC_LAYER_1); } -void display_ltdc_init(void) { +static void display_ltdc_init(void) { display_driver_t *drv = &g_display_driver; __HAL_RCC_LTDC_CLK_ENABLE();