diff options
author | Thom Johansen <thomj@rockbox.org> | 2005-11-09 18:00:46 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2005-11-09 18:00:46 +0000 |
commit | c83216ad891339c140358ee342e883d14b3d7158 (patch) | |
tree | 9f41130c934dbf7917a08b5f740ce5d3d6a7522d /firmware/drivers/lcd-16bit.c | |
parent | 8c75c4a7632a1072890f40f196b6dcecb8d7a3b0 (diff) |
Fix #define names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7804 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |