diff options
| author | Shachar Liberman <lshachar@hotmail.com> | 2006-08-10 20:56:09 +0000 |
|---|---|---|
| committer | Shachar Liberman <lshachar@hotmail.com> | 2006-08-10 20:56:09 +0000 |
| commit | 585510a6c31d2e11d89ca5e76ed1d713e9811028 (patch) | |
| tree | 99b62eb6d5ca2c2df9926d5d0752209ed7a2b9b1 /apps/plugins | |
| parent | 070566581b53df1e34b326b3107556121185832e (diff) | |
| download | rockbox-585510a6c31d2e11d89ca5e76ed1d713e9811028.zip rockbox-585510a6c31d2e11d89ca5e76ed1d713e9811028.tar.gz rockbox-585510a6c31d2e11d89ca5e76ed1d713e9811028.tar.bz2 rockbox-585510a6c31d2e11d89ca5e76ed1d713e9811028.tar.xz | |
...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
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/star.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index e0e15e8..956b0de 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 */ |