diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd.c | 2 | ||||
-rw-r--r-- | firmware/drivers/lcd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c index 21362918c8..6204d647b4 100644 --- a/firmware/drivers/lcd.c +++ b/firmware/drivers/lcd.c @@ -715,7 +715,7 @@ void lcd_clearpixel(int x, int y) /* * Return width and height of a given font. */ -void lcd_getfontsize(int font, int *width, int *height) +void lcd_getfontsize(unsigned int font, int *width, int *height) { if(font < sizeof(fonts)) { *width = fonts[font]; diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h index 7e5a4b8679..3557c9fe7c 100644 --- a/firmware/drivers/lcd.h +++ b/firmware/drivers/lcd.h @@ -82,7 +82,7 @@ extern void lcd_double_height (bool on); extern void lcd_putsxy(int x, int y, char *string, int font); extern void lcd_setfont(int font); -extern void lcd_getfontsize(int font, int *width, int *height); +extern void lcd_getfontsize(unsigned int font, int *width, int *height); extern void lcd_setmargins(int xmargin, int ymargin); extern void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny, bool clear); |