mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
chore(conf): clean up duplicate configuration items (#4584)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com> Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
c4c4627ae0
commit
9178f67a71
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user