diff options
Diffstat (limited to 'firmware/drivers/lcd-2bit-vert.c')
-rw-r--r-- | firmware/drivers/lcd-2bit-vert.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-2bit-vert.c b/firmware/drivers/lcd-2bit-vert.c index 2341ddb3df..cb532b7aaf 100644 --- a/firmware/drivers/lcd-2bit-vert.c +++ b/firmware/drivers/lcd-2bit-vert.c | |||
@@ -175,6 +175,11 @@ void lcd_setfont(int newfont) | |||
175 | current_vp->font = newfont; | 175 | current_vp->font = newfont; |
176 | } | 176 | } |
177 | 177 | ||
178 | int lcd_getfont(void) | ||
179 | { | ||
180 | return current_vp->font; | ||
181 | } | ||
182 | |||
178 | int lcd_getstringsize(const unsigned char *str, int *w, int *h) | 183 | int lcd_getstringsize(const unsigned char *str, int *w, int *h) |
179 | { | 184 | { |
180 | return font_getstringsize(str, w, h, current_vp->font); | 185 | return font_getstringsize(str, w, h, current_vp->font); |