summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-h100-remote.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2005-11-30 15:37:48 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2005-11-30 15:37:48 +0000
commit40d22093c011e2e9edc655f69fc911edbda3bcff (patch)
tree35750739f0e375fcd491791c1c9a4239e349c0d2 /firmware/drivers/lcd-h100-remote.c
parentad31ad4d1ca9afac99ccd9dedb5052fdfc15f112 (diff)
revert scroll pause in continuous scrolling mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8115 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-h100-remote.c')
-rw-r--r--firmware/drivers/lcd-h100-remote.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c
index 98da42710f..33a8b3790d 100644
--- a/firmware/drivers/lcd-h100-remote.c
+++ b/firmware/drivers/lcd-h100-remote.c
@@ -1323,11 +1323,9 @@ static void scroll_thread(void)
}
}
else {
- /* pause at beginning of line */
- if (s->offset >= s->width) {
- s->offset = 0;
- s->start_tick = current_tick + scroll_delay * 2;
- }
+ /* scroll forward the whole time */
+ if (s->offset >= s->width)
+ s->offset %= s->width;
}
lastmode = drawmode;