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 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apps/plugins/star.c') 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 */ -- cgit v1.2.3