diff options
author | Christi Scarborough <christi@coraline.org> | 2006-01-31 14:29:51 +0000 |
---|---|---|
committer | Christi Scarborough <christi@coraline.org> | 2006-01-31 14:29:51 +0000 |
commit | ae0ae6d5cf85ecd578b58a37a9a1839acf88c2cb (patch) | |
tree | 4a5717e66ff077a045b5e726e7c457470faea403 /apps/recorder/bmp.c | |
parent | cce79d38058efc58b2ca15ef63d06774d8487fe6 (diff) |
Small iPod colour BMP fix by linuxstd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r-- | apps/recorder/bmp.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index e41bd2dd77..598d26ba29 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -68,11 +68,6 @@ struct rgb_quad { /* Little endian */ unsigned char reserved; } STRUCT_PACKED; -#ifdef ROCKBOX_LITTLE_ENDIAN -#define readshort(x) *(x) -#define readlong(x) *(x) -#else - /* big endian functions */ static short readshort(short *value) { unsigned char* bytes = (unsigned char*) value; @@ -85,8 +80,6 @@ static long readlong(long *value) { ((long)bytes[2] << 16) | ((long)bytes[3] << 24); } -#endif - unsigned char brightness(struct rgb_quad color) { return (3 * (unsigned int)color.red + 6 * (unsigned int)color.green |