From 4a6190dd132884ce27df599b320da1a74587b4c5 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 24 May 2008 08:53:12 +0000 Subject: 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 --- apps/plugins/lib/grey_core.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/lib') 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 */ -- cgit v1.1