fix(stm32) Mark unused variable in stm32 DMA2D driver (#2782)

This commit is contained in:
Kevin Thibedeau
2021-11-09 02:23:38 -05:00
committed by GitHub
parent d89a5fbbd2
commit 61b0de3bdc
2 changed files with 2 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ void lv_gpu_stm32_dma2d_init(void)
/*Delay after setting peripheral clock*/
volatile uint32_t temp = RCC->AHB1ENR;
LV_UNUSED(temp);
/*set output colour mode*/
DMA2D->OPFCCR = LV_DMA2D_COLOR_FORMAT;