diff options
Diffstat (limited to 'firmware/drivers/lcd-charcell.c')
-rw-r--r-- | firmware/drivers/lcd-charcell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c index 6a40f6ba95..b59b270f9b 100644 --- a/firmware/drivers/lcd-charcell.c +++ b/firmware/drivers/lcd-charcell.c | |||
@@ -569,7 +569,7 @@ void lcd_scroll_fn(void) | |||
569 | int xpos, ypos; | 569 | int xpos, ypos; |
570 | bool update; | 570 | bool update; |
571 | struct viewport* old_vp = current_vp; | 571 | struct viewport* old_vp = current_vp; |
572 | bool makedelay = false; | 572 | bool makedelay; |
573 | 573 | ||
574 | update = false; | 574 | update = false; |
575 | for ( index = 0; index < lcd_scroll_info.lines; index++ ) { | 575 | for ( index = 0; index < lcd_scroll_info.lines; index++ ) { |
@@ -589,6 +589,7 @@ void lcd_scroll_fn(void) | |||
589 | xpos = s->startx; | 589 | xpos = s->startx; |
590 | ypos = s->y; | 590 | ypos = s->y; |
591 | 591 | ||
592 | makedelay = false; | ||
592 | if (s->bidir) /* scroll bidirectional */ | 593 | if (s->bidir) /* scroll bidirectional */ |
593 | { | 594 | { |
594 | if (s->offset <= 0) { | 595 | if (s->offset <= 0) { |