fix build error

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-13 16:10:17 +02:00
parent 47de5e1eda
commit 3fc03658ed
+9 -9
View File
@@ -118,15 +118,6 @@ static inline lv_coord_t lv_font_get_line_height(const lv_font_t * font_p)
return font_p->line_height;
}
/**
* Just a wrapper around LV_FONT_DEFAULT because it might be more convenient to use a function is some cases
* @return pointer to LV_FONT_DEFAULT
*/
static inline const lv_font_t * lv_font_default(void)
{
return LV_FONT_DEFAULT;
}
/**********************
* MACROS
**********************/
@@ -246,6 +237,15 @@ LV_FONT_DECLARE(lv_font_simsun_16_cjk)
LV_FONT_CUSTOM_DECLARE
#endif
/**
* Just a wrapper around LV_FONT_DEFAULT because it might be more convenient to use a function is some cases
* @return pointer to LV_FONT_DEFAULT
*/
static inline const lv_font_t * lv_font_default(void)
{
return LV_FONT_DEFAULT;
}
#ifdef __cplusplus
} /*extern "C"*/
#endif