summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-07-27 16:21:01 +0000
committerJens Arnold <amiconn@rockbox.org>2007-07-27 16:21:01 +0000
commitcebd767224b79a897256ba0564e586830f18b6fb (patch)
tree6f56d088fc71865f52cfde68a2268080a41f51a9 /apps/plugins/lib
parent41534a9acec37061bb130315e0dd5c57edcb7870 (diff)
downloadrockbox-cebd767224b79a897256ba0564e586830f18b6fb.zip
rockbox-cebd767224b79a897256ba0564e586830f18b6fb.tar.gz
rockbox-cebd767224b79a897256ba0564e586830f18b6fb.tar.bz2
rockbox-cebd767224b79a897256ba0564e586830f18b6fb.tar.xz
Grayscale library: Tuned frame frequency for the 2nd/3rd gen LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14026 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/gray_core.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/lib/gray_core.c b/apps/plugins/lib/gray_core.c
index b49c991..e4cc5e8 100644
--- a/apps/plugins/lib/gray_core.c
+++ b/apps/plugins/lib/gray_core.c
@@ -545,8 +545,14 @@ void gray_show(bool enable)
#elif CONFIG_LCD == LCD_S1D15E06
_gray_rb->timer_register(1, NULL, TIMER_FREQ / 70, 1, _timer_isr);
#elif CONFIG_LCD == LCD_IPOD2BPP
+#ifdef IPOD_1G2G
+ _gray_rb->timer_register(1, NULL, TIMER_FREQ / 95, 1, _timer_isr); /* verified */
+#elif defined IPOD_3G
+ _gray_rb->timer_register(1, NULL, TIMER_FREQ / 87, 1, _timer_isr); /* verified */
+#else
/* FIXME: verify value */
_gray_rb->timer_register(1, NULL, TIMER_FREQ / 80, 1, _timer_isr);
+#endif
#elif CONFIG_LCD == LCD_IPODMINI
_gray_rb->timer_register(1, NULL, TIMER_FREQ / 88, 1, _timer_isr);
#elif CONFIG_LCD == LCD_IFP7XX