From 9178f67a718881a61c5b609c96e70582580f5ac8 Mon Sep 17 00:00:00 2001 From: _VIFEXTech Date: Fri, 22 Sep 2023 16:44:35 +0800 Subject: [PATCH] chore(conf): clean up duplicate configuration items (#4584) Signed-off-by: pengyiqiang Co-authored-by: pengyiqiang --- lv_conf_template.h | 5 ----- src/lv_conf_internal.h | 21 --------------------- 2 files changed, 26 deletions(-) diff --git a/lv_conf_template.h b/lv_conf_template.h index 4ecce906b..c513f7c76 100644 --- a/lv_conf_template.h +++ b/lv_conf_template.h @@ -76,11 +76,6 @@ * RENDERING CONFIGURATION *========================*/ -/*Align the stride of all layers and images to this bytes*/ -#define LV_DRAW_BUF_STRIDE_ALIGN 1 /*Multiple of these Bytes*/ -/*Align the start address of draw_buf addresses to this bytes*/ -#define LV_DRAW_BUF_ALIGN 4 - /*Align the stride of all layers and images to this bytes*/ #define LV_DRAW_BUF_STRIDE_ALIGN 1 diff --git a/src/lv_conf_internal.h b/src/lv_conf_internal.h index bd5dec37b..ba6efedd6 100644 --- a/src/lv_conf_internal.h +++ b/src/lv_conf_internal.h @@ -186,27 +186,6 @@ * RENDERING CONFIGURATION *========================*/ -/*Align the stride of all layers and images to this bytes*/ -#ifndef LV_DRAW_BUF_STRIDE_ALIGN - #ifdef _LV_KCONFIG_PRESENT - #ifdef CONFIG_LV_DRAW_BUF_STRIDE_ALIGN - #define LV_DRAW_BUF_STRIDE_ALIGN CONFIG_LV_DRAW_BUF_STRIDE_ALIGN - #else - #define LV_DRAW_BUF_STRIDE_ALIGN 0 - #endif - #else - #define LV_DRAW_BUF_STRIDE_ALIGN 1 /*Multiple of these Bytes*/ - #endif -#endif -/*Align the start address of draw_buf addresses to this bytes*/ -#ifndef LV_DRAW_BUF_ALIGN - #ifdef CONFIG_LV_DRAW_BUF_ALIGN - #define LV_DRAW_BUF_ALIGN CONFIG_LV_DRAW_BUF_ALIGN - #else - #define LV_DRAW_BUF_ALIGN 4 - #endif -#endif - /*Align the stride of all layers and images to this bytes*/ #ifndef LV_DRAW_BUF_STRIDE_ALIGN #ifdef _LV_KCONFIG_PRESENT