From 1b4eb5bcf122ebfb18a5fc9abe0d7892f2f7aedb Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 21 Mar 2007 09:47:13 +0000 Subject: Correct some color unpacking macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12875 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/lcd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index cb5ab1dad4..1b7dbb4795 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -211,9 +211,9 @@ static inline unsigned lcd_color_to_native(unsigned color) #define RGB_UNPACK_RED(x) _RGB_UNPACK_RED(x) #define RGB_UNPACK_GREEN(x) _RGB_UNPACK_GREEN(x) #define RGB_UNPACK_BLUE(x) _RGB_UNPACK_BLUE(x) -#define RGB_UNPACK_RED_LCD(x) _RGB_UNPACK_RED(x) -#define RGB_UNPACK_GREEN_LCD(x) _RGB_UNPACK_GREEN(x) -#define RGB_UNPACK_BLUE_LCD(x) _RGB_UNPACK_BLUE(x) +#define RGB_UNPACK_RED_LCD(x) _RGB_UNPACK_RED_LCD(x) +#define RGB_UNPACK_GREEN_LCD(x) _RGB_UNPACK_GREEN_LCD(x) +#define RGB_UNPACK_BLUE_LCD(x) _RGB_UNPACK_BLUE_LCD(x) #endif #else /* other colour depths */ -- cgit v1.2.3