summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-charcell.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/lcd-charcell.c')
-rw-r--r--firmware/drivers/lcd-charcell.c3
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)
int xpos, ypos;
bool update;
struct viewport* old_vp = current_vp;
- bool makedelay = false;
+ bool makedelay;
update = false;
for ( index = 0; index < lcd_scroll_info.lines; index++ ) {
@@ -589,6 +589,7 @@ void lcd_scroll_fn(void)
xpos = s->startx;
ypos = s->y;
+ makedelay = false;
if (s->bidir) /* scroll bidirectional */
{
if (s->offset <= 0) {