mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
chore: enable LV_USE_SYSMON automatically and LV_USE_OBSERVER unconditionally
This commit is contained in:
parent
0b22070d64
commit
d24b6d54f2
@ -686,7 +686,7 @@
|
||||
#define LV_USE_SNAPSHOT 0
|
||||
|
||||
/*1: Enable system monitor component*/
|
||||
#define LV_USE_SYSMON 0
|
||||
#define LV_USE_SYSMON (LV_USE_MEM_MONITOR | LV_USE_PERF_MONITOR)
|
||||
|
||||
/*1: Enable the runtime performance profiler*/
|
||||
#define LV_USE_PROFILER 0
|
||||
@ -734,7 +734,7 @@
|
||||
#endif
|
||||
|
||||
/*1: Enable an observer pattern implementation*/
|
||||
#define LV_USE_OBSERVER 0
|
||||
#define LV_USE_OBSERVER 1
|
||||
|
||||
/*1: Enable Pinyin input method*/
|
||||
/*Requires: lv_keyboard*/
|
||||
|
@ -2237,10 +2237,14 @@
|
||||
|
||||
/*1: Enable system monitor component*/
|
||||
#ifndef LV_USE_SYSMON
|
||||
#ifdef CONFIG_LV_USE_SYSMON
|
||||
#define LV_USE_SYSMON CONFIG_LV_USE_SYSMON
|
||||
#ifdef _LV_KCONFIG_PRESENT
|
||||
#ifdef CONFIG_LV_USE_SYSMON
|
||||
#define LV_USE_SYSMON CONFIG_LV_USE_SYSMON
|
||||
#else
|
||||
#define LV_USE_SYSMON 0
|
||||
#endif
|
||||
#else
|
||||
#define LV_USE_SYSMON 0
|
||||
#define LV_USE_SYSMON 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user