From 585510a6c31d2e11d89ca5e76ed1d713e9811028 Mon Sep 17 00:00:00 2001 From: Shachar Liberman Date: Thu, 10 Aug 2006 20:56:09 +0000 Subject: ...nither sleep(0.2). thanks FS#5509 for letting me believe it is legit, and Philippe Miossec for his work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10516 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/star.c | 7 ++++--- docs/CREDITS | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/plugins/star.c b/apps/plugins/star.c index e0e15e8151..956b0debab 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c @@ -48,11 +48,12 @@ PLUGIN_HEADER #define STAR_BLOCK 'x' /* sleep time between two frames */ -#if (LCD_HEIGHT == 240) && (LCD_WIDTH == 320) -/* iPod 5G LCD is *slow* */ +#if (LCD_HEIGHT == 240) && (LCD_WIDTH == 320) /* iPod 5G LCD is *slow* */ #define STAR_SLEEP ; +#elif (LCD_HEIGHT == 128) && (LCD_WIDTH == 160) +#define STAR_SLEEP rb->sleep(0); #else -#define STAR_SLEEP rb->sleep(0.2); +#define STAR_SLEEP rb->sleep(1); #endif /* value of ball and block control */ diff --git a/docs/CREDITS b/docs/CREDITS index dda7047933..f666efe3c1 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -222,3 +222,4 @@ Emanuel Zephir Alexander Levin Barry Wardell Lars van de Klomp +philippe Miossec -- cgit v1.2.3