diff --git a/firmware/export/font.h b/firmware/export/font.h index faa10391f8..1e50faa6cf 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -130,7 +130,6 @@ struct font* font_get(int font); int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber); int font_get_width(struct font* ft, unsigned short ch); const unsigned char * font_get_bits(struct font* ft, unsigned short ch); -void glyph_cache_save(int font_id); #else /* HAVE_LCD_BITMAP */ diff --git a/firmware/font.c b/firmware/font.c index 8b63b80f45..b2ba3baa30 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -96,6 +96,8 @@ static int buflib_allocations[MAXFONTS]; static int cache_fd; static struct font* cache_pf; +static void glyph_cache_save(int font_id); + static int buflibmove_callback(int handle, void* current, void* new) { (void)handle;