diff options
Diffstat (limited to 'firmware/export/lcd.h')
-rw-r--r-- | firmware/export/lcd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 1ccbc513d2..3e1ea4430b 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -367,9 +367,10 @@ extern void lcd_bitmap_transparent(const fb_data *src, int x, int y, | |||
367 | /* internal usage, but in multiple drivers */ | 367 | /* internal usage, but in multiple drivers */ |
368 | #ifdef HAVE_LCD_BITMAP | 368 | #ifdef HAVE_LCD_BITMAP |
369 | #define SCROLL_SPACING 3 | 369 | #define SCROLL_SPACING 3 |
370 | #define SCROLL_LINE_SIZE (MAX_PATH + LCD_WIDTH/2 + SCROLL_SPACING + 2) | ||
370 | 371 | ||
371 | struct scrollinfo { | 372 | struct scrollinfo { |
372 | char line[MAX_PATH + LCD_WIDTH/2 + SCROLL_SPACING + 2]; | 373 | char line[SCROLL_LINE_SIZE]; |
373 | int len; /* length of line in chars */ | 374 | int len; /* length of line in chars */ |
374 | int width; /* length of line in pixels */ | 375 | int width; /* length of line in pixels */ |
375 | int offset; | 376 | int offset; |