summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-07-31 13:41:06 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-07-31 13:41:06 +0000
commit76f4c02dc59f5c6139ffa7b2b887bf81011fcd5d (patch)
tree83ba5c6945ce54e4d54d4b6b8682579e59e98fe2 /firmware/target/arm/tms320dm320
parent38e0918eb5822e3f7b36cc88606f61c99003d82f (diff)
Various minor clean-ups for mrobe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27639 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c9
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c2
2 files changed, 5 insertions, 6 deletions
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 98d41c7618..2e3a8bed3d 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-remote-mr500.c
@@ -109,12 +109,11 @@ void lcd_remote_off(void)
/* This is the maximum transfer size to the remote (op 0x51= 7 bytes setup+79
* bytes screen data+xor+sum
*/
-unsigned char remote_payload[88];
-unsigned char remote_payload_size;
-bool remote_repeat_draw=false;
+static unsigned char remote_payload[88];
+static unsigned char remote_payload_size;
-unsigned char remote_draw_x, remote_draw_y,
- remote_draw_width, remote_draw_height;
+static unsigned char remote_draw_x, remote_draw_y,
+ remote_draw_width, remote_draw_height;
/* Monitor remote hotswap */
static void remote_tick(void)
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
index c4693d632a..153b589b61 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/pcm-mr500.c
@@ -127,7 +127,7 @@ size_t pcm_get_bytes_waiting(void)
}
/* Only used when debugging */
-char buffer[80];
+static char buffer[80];
void DSPHINT(void) __attribute__ ((section(".icode")));
void DSPHINT(void)