forked from len0rd/rockbox
Fix #define names.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7804 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c75c4a763
commit
c83216ad89
1 changed files with 2 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ void lcd_update_rect(int x, int y, int width, int height)
|
||||||
unsigned short *addr = (unsigned short *)lcd_framebuffer;
|
unsigned short *addr = (unsigned short *)lcd_framebuffer;
|
||||||
|
|
||||||
/* calculate the drawing region */
|
/* calculate the drawing region */
|
||||||
#if CONFIG_LCD == IPOD_COLOR
|
#if CONFIG_LCD == LCD_IPODCOLOR
|
||||||
rect1 = x; /* start vert */
|
rect1 = x; /* start vert */
|
||||||
rect2 = (LCD_WIDTH - 1) - y; /* start horiz */
|
rect2 = (LCD_WIDTH - 1) - y; /* start horiz */
|
||||||
rect3 = (x + height) - 1; /* end vert */
|
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);
|
lcd_cmd_data(0x45, (rect4 << 8) | rect2);
|
||||||
|
|
||||||
/* start vert = max vert */
|
/* start vert = max vert */
|
||||||
#if CONFIG_LCD == IPOD_COLOR
|
#if CONFIG_LCD == LCD_IPODCOLOR
|
||||||
rect2 = rect4;
|
rect2 = rect4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue