fix(demos): fix demos compiling error caused by font config (#4778)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com> Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
#include "lv_demo_benchmark.h"
|
||||
|
||||
#if LV_USE_DEMO_BENCHMARK
|
||||
|
||||
#if LV_FONT_MONTSERRAT_14 == 0
|
||||
#error "LV_FONT_MONTSERRAT_14 is required for lv_demo_benchmark. Enable it in lv_conf.h."
|
||||
#endif
|
||||
|
||||
#if LV_FONT_MONTSERRAT_24 == 0
|
||||
#error "LV_FONT_MONTSERRAT_24 is required for lv_demo_benchmark. Enable it in lv_conf.h."
|
||||
#endif
|
||||
|
||||
#include "../../src/display/lv_display_private.h"
|
||||
#include "../../src/core/lv_global.h"
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@
|
||||
|
||||
#if LV_USE_DEMO_TRANSFORM
|
||||
|
||||
#if LV_FONT_MONTSERRAT_18 == 0
|
||||
#error "LV_FONT_MONTSERRAT_18 is required for lv_demo_transform. Enable it in lv_conf.h."
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
Reference in New Issue
Block a user