summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-05-24 08:53:12 +0000
committerJens Arnold <amiconn@rockbox.org>2008-05-24 08:53:12 +0000
commit4a6190dd132884ce27df599b320da1a74587b4c5 (patch)
treeb13f460d792815847771195e15c65b42b7926bcc /apps/plugins/lib
parent5e9732367d43d806b3552c88603b8564346fe39f (diff)
downloadrockbox-4a6190dd132884ce27df599b320da1a74587b4c5.zip
rockbox-4a6190dd132884ce27df599b320da1a74587b4c5.tar.gz
rockbox-4a6190dd132884ce27df599b320da1a74587b4c5.tar.bz2
rockbox-4a6190dd132884ce27df599b320da1a74587b4c5.tar.xz
Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/grey_core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lib/grey_core.c b/apps/plugins/lib/grey_core.c
index e7f02dd..cb1cd7d 100644
--- a/apps/plugins/lib/grey_core.c
+++ b/apps/plugins/lib/grey_core.c
@@ -81,10 +81,10 @@ static const unsigned char lcdlinear[256] = {
220, 221, 222, 223, 225, 226, 227, 228, 229, 230, 231, 232, 234, 235, 236, 237,
238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 249, 250, 251, 252
};
-/* The actual LCD scanrate is twice as high, but we cannot transfer fast enough
- * for 150Hz. Even at 75Hz, greyscale display is very smooth. Average from
- * 2 iAudio remotes. */
-#define LCD_SCANRATE 75 /* Hz */
+/* The actual LCD scanrate is 3x as high, but 150 Hz or 75 Hz cause a too high
+ * CPU load (> 50 %). Even at 50Hz, greyscale display is rather smooth. Average
+ * from 2 iAudio remotes. */
+#define LCD_SCANRATE 50 /* Hz */
#elif defined IAUDIO_M5 /* verified */
/* Measurement of one iAudio M5L */