display: stm32_ltdc: update macro to avoid usage of legacy API

Replace the usage of __HAL_LTDC_RELOAD_CONFIG which is a legacy
API with __HAL_LTDC_RELOAD_IMMEDIATE_CONFIG

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
This commit is contained in:
Alain Volmat 2025-04-30 10:57:57 +02:00 committed by Benjamin Cabé
parent eaa525c2e9
commit 9c9f526443

View File

@ -94,7 +94,7 @@ static void stm32_ltdc_global_isr(const struct device *dev)
data->front_buf = data->pend_buf;
LTDC_LAYER(&data->hltdc, LTDC_LAYER_1)->CFBAR = (uint32_t)data->front_buf;
__HAL_LTDC_RELOAD_CONFIG(&data->hltdc);
__HAL_LTDC_RELOAD_IMMEDIATE_CONFIG(&data->hltdc);
k_sem_give(&data->sem);
}