diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-28 11:51:09 +1100 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2012-02-28 11:51:09 +1100 |
commit | c0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0 (patch) | |
tree | 808430fcc6e8bb519683c64f61c97e2880902d8d | |
parent | b37e6bc8c119289aca8740dd5e3b60d72f9d6b40 (diff) | |
download | rockbox-c0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0.tar.gz rockbox-c0a2c3fe3a2f5036f2ed65077cbfd774b46b34d0.zip |
Fix build errors and warnings
Change-Id: Ie80bc4328d4f89a5a7b77c93f2b445d0e30fb019
-rw-r--r-- | firmware/target/arm/olympus/mrobe-100/lcd-remote-mr100.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/pbell/vibe500/lcd-vibe500.c | 2 | ||||
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c | 2 |
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) | |||
255 | data[6] = (y + 1) << 3; /* y2 */ | 255 | data[6] = (y + 1) << 3; /* y2 */ |
256 | 256 | ||
257 | for (x = 0; x < RC_WIDTH; x++) | 257 | for (x = 0; x < RC_WIDTH; x++) |
258 | data[x + 7] = FBREMOTEADDR(x,y); | 258 | data[x + 7] = *FBREMOTEADDR(x,y); |
259 | 259 | ||
260 | remote_tx(data, RC_WIDTH + 7); | 260 | remote_tx(data, RC_WIDTH + 7); |
261 | 261 | ||
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) | |||
483 | /* start drawing */ | 483 | /* start drawing */ |
484 | lcd_send_cmd(R_WRITE_DATA_2_GRAM); | 484 | lcd_send_cmd(R_WRITE_DATA_2_GRAM); |
485 | 485 | ||
486 | addr = FBADDR(x0, y0) | 486 | addr = FBADDR(x0, y0); |
487 | 487 | ||
488 | int c, r; | 488 | int c, r; |
489 | for (r = 0; r < height; r++) | 489 | 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) | |||
246 | for(i=7; i<remote_payload_size; i++) | 246 | for(i=7; i<remote_payload_size; i++) |
247 | { | 247 | { |
248 | remote_payload[i]= | 248 | remote_payload[i]= |
249 | FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3); | 249 | *FBREMOTEADDR(i+remote_draw_x-7, remote_payload[4]>>3); |
250 | } | 250 | } |
251 | } | 251 | } |
252 | 252 | ||