1
0
Fork 0
forked from len0rd/rockbox

Fix build errors and warnings

Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
This commit is contained in:
Jonathan Gordon 2012-02-28 11:51:09 +11:00
parent b37e6bc8c1
commit c0a2c3fe3a
3 changed files with 3 additions and 3 deletions

View file

@ -255,7 +255,7 @@ static void remote_update_lcd(void)
data[6] = (y + 1) << 3; /* y2 */
for (x = 0; x < RC_WIDTH; x++)
data[x + 7] = FBREMOTEADDR(x,y);
data[x + 7] = *FBREMOTEADDR(x,y);
remote_tx(data, RC_WIDTH + 7);

View file

@ -483,7 +483,7 @@ void lcd_update_rect(int x0, int y0, int width, int height)
/* start drawing */
lcd_send_cmd(R_WRITE_DATA_2_GRAM);
addr = FBADDR(x0, y0)
addr = FBADDR(x0, y0);
int c, r;
for (r = 0; r < height; r++)

View file

@ -246,7 +246,7 @@ static void remote_tick(void)
for(i=7; i<remote_payload_size; i++)
{
remote_payload[i]=
FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3);
*FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3);
}
}