diff options
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/lcd-recorder.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 3d3763c..d2949c8 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c @@ -305,7 +305,7 @@ void lcd_setfont(int newfont) curfont = newfont; } -int lcd_getstringsize(unsigned char *str, int *w, int *h) +int lcd_getstringsize(const unsigned char *str, int *w, int *h) { struct font* pf = font_get(curfont); int ch; @@ -328,12 +328,12 @@ int lcd_getstringsize(unsigned char *str, int *w, int *h) } /* put a string at a given char position */ -void lcd_puts(int x, int y, unsigned char *str) +void lcd_puts(int x, int y, const unsigned char *str) { lcd_puts_style(x, y, str, STYLE_DEFAULT); } -void lcd_puts_style(int x, int y, unsigned char *str, int style) +void lcd_puts_style(int x, int y, const unsigned char *str, int style) { int xpos,ypos,w,h; |