1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

chore: update lv_conf_internal.h

This commit is contained in:
Gabor Kiss-Vamosi 2023-11-28 15:06:38 +01:00
parent fea780e837
commit d7981cf55f

View File

@ -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