diff options
Diffstat (limited to 'apps/plugins/lib/xlcd_scroll.c')
-rw-r--r-- | apps/plugins/lib/xlcd_scroll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/lib/xlcd_scroll.c b/apps/plugins/lib/xlcd_scroll.c index 499dbf13a9..96e0715894 100644 --- a/apps/plugins/lib/xlcd_scroll.c +++ b/apps/plugins/lib/xlcd_scroll.c | |||
@@ -81,7 +81,7 @@ void xlcd_scroll_up(int count) | |||
81 | 81 | ||
82 | length = LCD_HEIGHT - count; | 82 | length = LCD_HEIGHT - count; |
83 | 83 | ||
84 | width = LCD_WIDTH; | 84 | width = LCD_WIDTH-1; |
85 | data = rb->lcd_framebuffer; | 85 | data = rb->lcd_framebuffer; |
86 | 86 | ||
87 | do { | 87 | do { |
@@ -107,7 +107,7 @@ void xlcd_scroll_down(int count) | |||
107 | 107 | ||
108 | length = LCD_HEIGHT - count; | 108 | length = LCD_HEIGHT - count; |
109 | 109 | ||
110 | width = LCD_WIDTH; | 110 | width = LCD_WIDTH-1; |
111 | data = rb->lcd_framebuffer; | 111 | data = rb->lcd_framebuffer; |
112 | 112 | ||
113 | do { | 113 | do { |