mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-26 02:37:01 +08:00
fix(list): check that LV_USE_FLEX is enabled when using LV_LIST (#8139)
This commit is contained in:
@@ -17,6 +17,10 @@ extern "C" {
|
||||
|
||||
#if LV_USE_LIST
|
||||
|
||||
#if LV_USE_FLEX == 0
|
||||
#error "lv_list: lv_flex is required. Enable it in lv_conf.h (LV_USE_FLEX 1)"
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
@@ -18,7 +18,7 @@ extern "C" {
|
||||
#if LV_USE_MENU
|
||||
|
||||
#if LV_USE_FLEX == 0
|
||||
#error "LV_USE_FLEX needs to be enabled"
|
||||
#error "lv_menu: lv_flex is required. Enable it in lv_conf.h (LV_USE_FLEX 1)"
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
|
||||
Reference in New Issue
Block a user