diff options
Diffstat (limited to 'firmware/drivers/lcd-1bit-vert.c')
-rw-r--r-- | firmware/drivers/lcd-1bit-vert.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-1bit-vert.c b/firmware/drivers/lcd-1bit-vert.c index 5c651a9613..7c9cd26e2a 100644 --- a/firmware/drivers/lcd-1bit-vert.c +++ b/firmware/drivers/lcd-1bit-vert.c | |||
@@ -122,6 +122,11 @@ void lcd_setfont(int newfont) | |||
122 | current_vp->font = newfont; | 122 | current_vp->font = newfont; |
123 | } | 123 | } |
124 | 124 | ||
125 | int lcd_getfont(void) | ||
126 | { | ||
127 | return current_vp->font; | ||
128 | } | ||
129 | |||
125 | int lcd_getstringsize(const unsigned char *str, int *w, int *h) | 130 | int lcd_getstringsize(const unsigned char *str, int *w, int *h) |
126 | { | 131 | { |
127 | return font_getstringsize(str, w, h, current_vp->font); | 132 | return font_getstringsize(str, w, h, current_vp->font); |