From fff79aabab209ea0b407ff98fbf5879f54ed2bfd Mon Sep 17 00:00:00 2001 From: marsman7 Date: Tue, 22 Aug 2023 22:56:27 +0200 Subject: [PATCH] fix compile error : 'lv_font_montserrat_14' was not declared in this scope --- include/lv_conf_v7.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/lv_conf_v7.h b/include/lv_conf_v7.h index 489f0c803..0b094c3f0 100644 --- a/include/lv_conf_v7.h +++ b/include/lv_conf_v7.h @@ -758,6 +758,10 @@ typedef void* lv_font_user_data_t; #endif #endif // LV_FONT_DEFAULT +#ifndef LV_THEME_DEFAULT_FONT_SMALL + #define LV_THEME_DEFAULT_FONT_SMALL LV_FONT_DEFAULT +#endif + #define LV_THEME_DEFAULT_FONT_NORMAL LV_FONT_DEFAULT #define LV_THEME_DEFAULT_FONT_SUBTITLE LV_FONT_DEFAULT #define LV_THEME_DEFAULT_FONT_TITLE LV_FONT_DEFAULT