mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(conf) mismatched macro judgment (#2843)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration * feat(refr) add reset of FPS statistics * fix(conf) mismatched macro judgment Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
parent
ad947d3085
commit
216298d6e9
@ -219,16 +219,16 @@
|
||||
* Others
|
||||
*-----------*/
|
||||
|
||||
/*1: Show CPU usage and FPS count in the right bottom corner*/
|
||||
/*1: Show CPU usage and FPS count*/
|
||||
#define LV_USE_PERF_MONITOR 0
|
||||
#if LV_USE_PERF_MONITOR
|
||||
#define LV_USE_PERF_MONITOR_POS LV_ALIGN_BOTTOM_RIGHT
|
||||
#endif
|
||||
|
||||
/*1: Show the used memory and the memory fragmentation in the left bottom corner
|
||||
/*1: Show the used memory and the memory fragmentation
|
||||
* Requires LV_MEM_CUSTOM = 0*/
|
||||
#define LV_USE_MEM_MONITOR 0
|
||||
#if LV_USE_PERF_MONITOR
|
||||
#if LV_USE_MEM_MONITOR
|
||||
#define LV_USE_MEM_MONITOR_POS LV_ALIGN_BOTTOM_LEFT
|
||||
#endif
|
||||
|
||||
|
@ -594,7 +594,7 @@
|
||||
* Others
|
||||
*-----------*/
|
||||
|
||||
/*1: Show CPU usage and FPS count in the right bottom corner*/
|
||||
/*1: Show CPU usage and FPS count*/
|
||||
#ifndef LV_USE_PERF_MONITOR
|
||||
#ifdef CONFIG_LV_USE_PERF_MONITOR
|
||||
#define LV_USE_PERF_MONITOR CONFIG_LV_USE_PERF_MONITOR
|
||||
@ -612,7 +612,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*1: Show the used memory and the memory fragmentation in the left bottom corner
|
||||
/*1: Show the used memory and the memory fragmentation
|
||||
* Requires LV_MEM_CUSTOM = 0*/
|
||||
#ifndef LV_USE_MEM_MONITOR
|
||||
#ifdef CONFIG_LV_USE_MEM_MONITOR
|
||||
@ -621,7 +621,7 @@
|
||||
#define LV_USE_MEM_MONITOR 0
|
||||
#endif
|
||||
#endif
|
||||
#if LV_USE_PERF_MONITOR
|
||||
#if LV_USE_MEM_MONITOR
|
||||
#ifndef LV_USE_MEM_MONITOR_POS
|
||||
#ifdef CONFIG_LV_USE_MEM_MONITOR_POS
|
||||
#define LV_USE_MEM_MONITOR_POS CONFIG_LV_USE_MEM_MONITOR_POS
|
||||
|
Loading…
x
Reference in New Issue
Block a user