From 61b0de3bdc46803ae245cf17b453678fd0b30d73 Mon Sep 17 00:00:00 2001 From: Kevin Thibedeau Date: Tue, 9 Nov 2021 02:23:38 -0500 Subject: [PATCH] fix(stm32) Mark unused variable in stm32 DMA2D driver (#2782) --- docs/CHANGELOG.md | 1 + src/gpu/lv_gpu_stm32_dma2d.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 60ce4e2bb..547eb29e2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -48,6 +48,7 @@ - fix(msgbox) add declaration for lv_msgbox_content_class - fix(txt) skip basic arabic vowel characters when processing conjunction - fix(proto) Remove redundant prototype declarations +- fix(stm32) Mark unused variable in stm32 DMA2D driver ## v8.0.2 (16.07.2021) - fix(theme) improve button focus of keyboard diff --git a/src/gpu/lv_gpu_stm32_dma2d.c b/src/gpu/lv_gpu_stm32_dma2d.c index c3e119871..9653e4121 100644 --- a/src/gpu/lv_gpu_stm32_dma2d.c +++ b/src/gpu/lv_gpu_stm32_dma2d.c @@ -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;