summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-recorder.c')
-rw-r--r--firmware/drivers/lcd-recorder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 3d3763ca50..d2949c8758 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -305,7 +305,7 @@ void lcd_setfont(int newfont)
305 curfont = newfont; 305 curfont = newfont;
306} 306}
307 307
308int lcd_getstringsize(unsigned char *str, int *w, int *h) 308int lcd_getstringsize(const unsigned char *str, int *w, int *h)
309{ 309{
310 struct font* pf = font_get(curfont); 310 struct font* pf = font_get(curfont);
311 int ch; 311 int ch;
@@ -328,12 +328,12 @@ int lcd_getstringsize(unsigned char *str, int *w, int *h)
328} 328}
329 329
330/* put a string at a given char position */ 330/* put a string at a given char position */
331void lcd_puts(int x, int y, unsigned char *str) 331void lcd_puts(int x, int y, const unsigned char *str)
332{ 332{
333 lcd_puts_style(x, y, str, STYLE_DEFAULT); 333 lcd_puts_style(x, y, str, STYLE_DEFAULT);
334} 334}
335 335
336void lcd_puts_style(int x, int y, unsigned char *str, int style) 336void lcd_puts_style(int x, int y, const unsigned char *str, int style)
337{ 337{
338 int xpos,ypos,w,h; 338 int xpos,ypos,w,h;
339 339