fix(list): check that LV_USE_FLEX is enabled when using LV_LIST (#8139)

This commit is contained in:
Luke Lowrey
2025-04-28 20:44:18 +01:00
committed by GitHub
parent cd36c9e002
commit 049c0548e1
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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
*********************/
+1 -1
View File
@@ -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
/*********************