mirror of
https://github.com/lvgl/lvgl.git
synced 2026-06-01 08:54:52 +08:00
fix build error
This commit is contained in:
+9
-9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user