diff --git a/src/lv_font/lv_font_fmt_txt.h b/src/lv_font/lv_font_fmt_txt.h index 8e19f4b2ed..cd9257d7da 100644 --- a/src/lv_font/lv_font_fmt_txt.h +++ b/src/lv_font/lv_font_fmt_txt.h @@ -50,12 +50,14 @@ typedef struct /** Format of font character map. */ -typedef enum { +enum { LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY, LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL, LV_FONT_FMT_TXT_CMAP_SPARSE_TINY, LV_FONT_FMT_TXT_CMAP_SPARSE_FULL, -}lv_font_fmt_txt_cmap_type_t; +}; + +typedef uint8_t lv_font_fmt_txt_cmap_type_t; /* Map codepoints to a `glyph_dsc`s