From c83216ad891339c140358ee342e883d14b3d7158 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Wed, 9 Nov 2005 18:00:46 +0000 Subject: Fix #define names. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7804 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/lcd-16bit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/drivers/lcd-16bit.c') diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 836baa854c..62f7fa2714 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c @@ -286,7 +286,7 @@ void lcd_update_rect(int x, int y, int width, int height) unsigned short *addr = (unsigned short *)lcd_framebuffer; /* calculate the drawing region */ - #if CONFIG_LCD == IPOD_COLOR + #if CONFIG_LCD == LCD_IPODCOLOR rect1 = x; /* start vert */ rect2 = (LCD_WIDTH - 1) - y; /* start horiz */ rect3 = (x + height) - 1; /* end vert */ @@ -326,7 +326,7 @@ void lcd_update_rect(int x, int y, int width, int height) lcd_cmd_data(0x45, (rect4 << 8) | rect2); /* start vert = max vert */ - #if CONFIG_LCD == IPOD_COLOR + #if CONFIG_LCD == LCD_IPODCOLOR rect2 = rect4; #endif -- cgit v1.2.3