mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-20 04:11:36 +08:00
chore: update lv_conf_internal.h
This commit is contained in:
+10
-10
@@ -2264,14 +2264,10 @@
|
||||
|
||||
/*1: Enable system monitor component*/
|
||||
#ifndef 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
|
||||
#ifdef CONFIG_LV_USE_SYSMON
|
||||
#define LV_USE_SYSMON CONFIG_LV_USE_SYSMON
|
||||
#else
|
||||
#define LV_USE_SYSMON 1
|
||||
#define LV_USE_SYSMON (LV_USE_MEM_MONITOR | LV_USE_PERF_MONITOR)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -2410,10 +2406,14 @@
|
||||
|
||||
/*1: Enable an observer pattern implementation*/
|
||||
#ifndef LV_USE_OBSERVER
|
||||
#ifdef CONFIG_LV_USE_OBSERVER
|
||||
#define LV_USE_OBSERVER CONFIG_LV_USE_OBSERVER
|
||||
#ifdef _LV_KCONFIG_PRESENT
|
||||
#ifdef CONFIG_LV_USE_OBSERVER
|
||||
#define LV_USE_OBSERVER CONFIG_LV_USE_OBSERVER
|
||||
#else
|
||||
#define LV_USE_OBSERVER 0
|
||||
#endif
|
||||
#else
|
||||
#define LV_USE_OBSERVER 0
|
||||
#define LV_USE_OBSERVER 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user