summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-2bit-vert.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-2bit-vert.c')
-rw-r--r--firmware/drivers/lcd-2bit-vert.c5
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
178int lcd_getfont(void)
179{
180 return current_vp->font;
181}
182
178int lcd_getstringsize(const unsigned char *str, int *w, int *h) 183int 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);