summaryrefslogtreecommitdiffstats
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.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c
index aa12ef16c0..e5b52d48a9 100644
--- a/firmware/drivers/lcd-charcell.c
+++ b/firmware/drivers/lcd-charcell.c
@@ -605,8 +605,10 @@ void lcd_scroll_fn(void)
}
else /* scroll forward the whole time */
{
- if (s->offset >= s->len)
- s->offset -= s->len;
+ if (s->offset >= s->len) {
+ s->offset = 0;
+ s->start_tick = current_tick + lcd_scroll_info.delay * 2;
+ }
}
lcd_putsxyofs(xpos, ypos, s->offset, s->line);