mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Fix build errors and warnings
Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
This commit is contained in:
parent
b37e6bc8c1
commit
c0a2c3fe3a
3 changed files with 3 additions and 3 deletions
|
|
@ -255,7 +255,7 @@ static void remote_update_lcd(void)
|
||||||
data[6] = (y + 1) << 3; /* y2 */
|
data[6] = (y + 1) << 3; /* y2 */
|
||||||
|
|
||||||
for (x = 0; x < RC_WIDTH; x++)
|
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);
|
remote_tx(data, RC_WIDTH + 7);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -483,7 +483,7 @@ void lcd_update_rect(int x0, int y0, int width, int height)
|
||||||
/* start drawing */
|
/* start drawing */
|
||||||
lcd_send_cmd(R_WRITE_DATA_2_GRAM);
|
lcd_send_cmd(R_WRITE_DATA_2_GRAM);
|
||||||
|
|
||||||
addr = FBADDR(x0, y0)
|
addr = FBADDR(x0, y0);
|
||||||
|
|
||||||
int c, r;
|
int c, r;
|
||||||
for (r = 0; r < height; r++)
|
for (r = 0; r < height; r++)
|
||||||
|
|
|
||||||
|
|
@ -246,7 +246,7 @@ static void remote_tick(void)
|
||||||
for(i=7; i<remote_payload_size; i++)
|
for(i=7; i<remote_payload_size; i++)
|
||||||
{
|
{
|
||||||
remote_payload[i]=
|
remote_payload[i]=
|
||||||
FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3);
|
*FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue