fix(benchmark): add missing LV_USE_DEMO_BENCHMARK (#3767)

Signed-off-by: Leo Chung <gewalalb@gmail.com>
This commit is contained in:
Leo Chung
2022-10-29 16:30:22 +08:00
committed by GitHub
parent 4972efc3ee
commit 146598c6a6

View File

@@ -1,5 +1,7 @@
#include "../../../lvgl.h"
#if LV_USE_DEMO_BENCHMARK
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
@@ -222,3 +224,5 @@ const lv_img_dsc_t img_benchmark_cogwheel_rgb565a8 = {
.data_size = 30000,
.data = img_benchmark_cogwheel_rgb565a8_map,
};
#endif