chore: cleanup LV_USE_MSG (#4681)

Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
This commit is contained in:
bjsylvia 2023-10-21 04:24:15 +08:00 committed by GitHub
parent 094db896d2
commit c0356c9380
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 0 additions and 23 deletions

View File

@ -709,9 +709,6 @@
#define LV_IMGFONT_USE_IMG_CACHE_HEADER 0
#endif
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 0
/*1: Enable Pinyin input method*/
/*Requires: lv_keyboard*/
#define LV_USE_IME_PINYIN 0

View File

@ -1144,10 +1144,6 @@ menu "LVGL configuration"
depends on LV_USE_IMGFONT
default n
config LV_USE_MSG
bool "Enable a published subscriber based messaging system"
default n
config LV_USE_IME_PINYIN
bool "Enable Pinyin input method"
default n

View File

@ -693,9 +693,6 @@
#define LV_IMGFONT_USE_IMAGE_CACHE_HEADER 0
#endif
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 0
/*1: Enable Pinyin input method*/
/*Requires: lv_keyboard*/
#if LV_USE_IME_PINYIN

View File

@ -170,12 +170,6 @@ typedef struct _lv_global_t {
lv_profiler_builtin_ctx_t profiler_context;
#endif
#if LV_USE_MSG
bool msg_restart_notify;
unsigned int msg_recursion_counter;
lv_ll_t msg_subs_ll;
#endif
#if LV_USE_FILE_EXPLORER != 0
lv_style_t fe_list_button_style;
#endif

View File

@ -97,10 +97,6 @@ typedef enum {
LV_EVENT_GET_SELF_SIZE, /**< Get the internal size of a widget*/
/** Events of optional LVGL components*/
#if LV_USE_MSG
LV_EVENT_MSG_RECEIVED,
#endif
LV_EVENT_INVALIDATE_AREA,
LV_EVENT_RENDER_START,
LV_EVENT_RENDER_READY,

View File

@ -71,7 +71,6 @@
#define LV_USE_FRAGMENT 1
#define LV_USE_IMGFONT 1
#define LV_USE_IME_PINYIN 1
#define LV_USE_MSG 1
#define LV_USE_OBSERVER 1
#define LV_USE_FILE_EXPLORER 1
#define LV_USE_TINY_TTF 1

View File

@ -19,5 +19,3 @@
#define LV_USE_BMP 1
#define LV_USE_GIF 1
#define LV_USE_QRCODE 1
#define LV_USE_MSG 1 /*For test_msg*/