summaryrefslogtreecommitdiffstats
path: root/firmware/scroll_engine.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2012-01-09 03:26:03 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2012-01-09 03:26:03 +0000
commit36613d57fadbd7204bba6dbc7962976ad039655d (patch)
treeeea3813cde0de6c682a399da937ed9333b922ed1 /firmware/scroll_engine.c
parent307cb049485cc20140b85aa78f8e2677e8df5851 (diff)
downloadrockbox-36613d57fadbd7204bba6dbc7962976ad039655d.tar.gz
rockbox-36613d57fadbd7204bba6dbc7962976ad039655d.tar.bz2
rockbox-36613d57fadbd7204bba6dbc7962976ad039655d.zip
Commit FS#12454 - Faster line scroll speed by Martin Sagmuller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31643 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/scroll_engine.c')
-rw-r--r--firmware/scroll_engine.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c
index 5dd80f1a07..bc356a8281 100644
--- a/firmware/scroll_engine.c
+++ b/firmware/scroll_engine.c
@@ -35,10 +35,10 @@
#endif
#include "scroll_engine.h"
-static const char scroll_tick_table[16] = {
- /* Hz values:
- 1, 1.25, 1.55, 2, 2.5, 3.12, 4, 5, 6.25, 8.33, 10, 12.5, 16.7, 20, 25, 33 */
- 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3
+static const char scroll_tick_table[18] = {
+ /* Hz values [f(x)=100.8/(x+.048)]:
+ 1, 1.25, 1.55, 2, 2.5, 3.12, 4, 5, 6.25, 8.33, 10, 12.5, 16.7, 20, 25, 33, 49.2, 96.2 */
+ 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3, 2, 1
};
static void scroll_thread(void);