diff options
| -rw-r--r-- | src/displayapp/fonts/lv_font_sys_48.c | 2 | ||||
| -rw-r--r-- | src/displayapp/fonts/neofont.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/fonts/lv_font_sys_48.c b/src/displayapp/fonts/lv_font_sys_48.c index dfde9ab..bfc0a15 100644 --- a/src/displayapp/fonts/lv_font_sys_48.c +++ b/src/displayapp/fonts/lv_font_sys_48.c @@ -299,7 +299,7 @@ static lv_font_fmt_txt_dsc_t font_dsc = { *----------------*/ /*Initialize a public general font descriptor*/ -const lv_font_t lv_font_sys_48 = { +lv_font_t lv_font_sys_48 = { .get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/ .get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/ .line_height = 46, /*The maximum line height required by the font*/ diff --git a/src/displayapp/fonts/neofont.c b/src/displayapp/fonts/neofont.c index cfc8e72..7a2f89c 100644 --- a/src/displayapp/fonts/neofont.c +++ b/src/displayapp/fonts/neofont.c @@ -420,7 +420,7 @@ static const uint8_t * neofont15_glyph_bitmap_cb(const lv_font_t * font, uint32_ } /*Describe the properties of a font*/ -const lv_font_t neofont15 = { +lv_font_t neofont15 = { .get_glyph_dsc = neofont15_glyph_dsc_cb, /*Set a callback to get info about gylphs*/ .get_glyph_bitmap = neofont15_glyph_bitmap_cb, /*Set a callback to get bitmap of a glyp*/ .line_height = 18, /*The real line height where any text fits*/ |
