1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(event): use 16bit for lvgl event to avoid overlowing (#5102)

Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
This commit is contained in:
Neo Xu 2023-12-27 10:17:53 +08:00 committed by GitHub
parent 6b5f72dedf
commit 1be21a93b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,9 +109,9 @@ typedef enum {
LV_EVENT_VSYNC,
_LV_EVENT_LAST, /** Number of default events*/
_LV_EVENT_LAST, /** Number of default events*/
LV_EVENT_PREPROCESS = 0x80, /** This is a flag that can be set with an event so it's processed
LV_EVENT_PREPROCESS = 0x8000, /** This is a flag that can be set with an event so it's processed
before the class default event processing */
} lv_event_code_t;