summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-remote-2bit-vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-remote-2bit-vi.c')
-rw-r--r--firmware/drivers/lcd-remote-2bit-vi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-remote-2bit-vi.c b/firmware/drivers/lcd-remote-2bit-vi.c
index 9ab98c69aa..9f70e95195 100644
--- a/firmware/drivers/lcd-remote-2bit-vi.c
+++ b/firmware/drivers/lcd-remote-2bit-vi.c
@@ -174,6 +174,11 @@ void lcd_remote_setfont(int newfont)
174 current_vp->font = newfont; 174 current_vp->font = newfont;
175} 175}
176 176
177int lcd_remote_getfont(void)
178{
179 return current_vp->font;
180}
181
177int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h) 182int lcd_remote_getstringsize(const unsigned char *str, int *w, int *h)
178{ 183{
179 return font_getstringsize(str, w, h, current_vp->font); 184 return font_getstringsize(str, w, h, current_vp->font);