summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2012-02-28 11:51:09 +1100
committerJonathan Gordon <rockbox@jdgordon.info>2012-02-28 11:51:09 +1100
commitc0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0 (patch)
tree808430fcc6e8bb519683c64f61c97e2880902d8d /firmware
parentb37e6bc8c119289aca8740dd5e3b60d72f9d6b40 (diff)
downloadrockbox-c0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0.tar.gz
rockbox-c0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0.zip
Fix build errors and warnings
Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c2
-rw-r--r--firmware/target/arm/pbell/vibe500/lcd-vibe500.c2
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c b/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c
index edcdde7253..94f4249f9f 100644
--- a/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c
+++ b/firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c
@@ -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);
diff --git a/firmware/target/arm/pbell/vibe500/lcd-vibe500.c b/firmware/target/arm/pbell/vibe500/lcd-vibe500.c
index 4dd2ec1206..047ef2bf53 100644
--- a/firmware/target/arm/pbell/vibe500/lcd-vibe500.c
+++ b/firmware/target/arm/pbell/vibe500/lcd-vibe500.c
@@ -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++)
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c
index 5b8b2f9437..0edca2588c 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c
@@ -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);
}
}