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:
parent
eaa525c2e9
commit
9c9f526443
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user