From 664a4189b20753a26f1d767567c560751956275d Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 19 Nov 2005 02:14:16 +0000 Subject: [PATCH] Use LCD_PIXELFORMAT instead of CONFIG_LCD in screen_dump() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7978 a1c6a512-1295-4272-9138-f99709370657 --- apps/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/misc.c b/apps/misc.c index 858042cf34..152914e4f0 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -379,7 +379,7 @@ void screen_dump(void) for (bx = 0; bx < LCD_WIDTH; bx++) { -#if (CONFIG_LCD == LCD_IPODCOLOR) || (CONFIG_LCD == LCD_IPODNANO) +#if (LCD_PIXELFORMAT == RGB565SWAPPED) /* iPod LCD data is big endian although the CPU is not */ *dst++ = swap16(*src++); #else