summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-09-10 20:14:22 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-09-10 20:14:22 +0000
commit37a384c541efe67a98f9db1b80a181f9cef32023 (patch)
treea72b3c521def1deadcec8123da0dfd69c809a7bb
parent1cf8331d7a4e5fc7b0548688ff5d018224cc4ed1 (diff)
Minor missing #include and static function fixes for mrobe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/debug_menu.c4
-rw-r--r--firmware/export/tsc2100.h2
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c1
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/ata-mr500.c1
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c1
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c1
6 files changed, 8 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 72379f4104..4d9be69ba5 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1464,7 +1464,7 @@ static bool dbg_cpufreq(void)
#if defined(HAVE_TSC2100) && !defined(SIMULATOR)
#include "tsc2100.h"
-char *itob(int n, int len)
+static char *itob(int n, int len)
{
static char binary[64];
int i,j;
@@ -1519,7 +1519,7 @@ static int tsc2100debug_action_callback(int action, struct gui_synclist *lists)
}
return action;
}
-bool tsc2100_debug(void)
+static bool tsc2100_debug(void)
{
int page = 0;
char title[32] = "tsc2100 registers - Page 0";
diff --git a/firmware/export/tsc2100.h b/firmware/export/tsc2100.h
index a1245bd898..242d3b1889 100644
--- a/firmware/export/tsc2100.h
+++ b/firmware/export/tsc2100.h
@@ -28,6 +28,8 @@ void tsc2100_read_values(short *x, short* y, short *z1, short *z2);
short tsc2100_readreg(int page, int address);
/* write a value to the register */
void tsc2100_writereg(int page, int address, short value);
+/* produce a key click (doesn't work?) */
+void tsc2100_keyclick(void);
/* ts adc page defines (page 1, 00h ) (refer to page 40 of the datasheet) */
#define TSADC_PAGE 1
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c
index 9054b416a0..0a1389a226 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/adc-mr500.c
@@ -20,6 +20,7 @@
****************************************************************************/
#include "cpu.h"
+#include "adc.h"
#include "adc-target.h"
#include "kernel.h"
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/ata-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/ata-mr500.c
index 3d499ddb64..2377309a1d 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/ata-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/ata-mr500.c
@@ -27,6 +27,7 @@
#include "power.h"
#include "panic.h"
#include "pcf50606.h"
+#include "ata.h"
#include "ata-target.h"
#include "backlight-target.h"
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c
index 4e0c8d5191..9c63f0f5ee 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/lcd-mr500.c
@@ -29,6 +29,7 @@
#include "kernel.h"
#include "memory.h"
#include "system-target.h"
+#include "lcd.h"
#include "lcd-target.h"
/* Copies a rectangle from one framebuffer to another. Can be used in
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
index 37c1b8e84b..41211c2b47 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
@@ -25,6 +25,7 @@
#include "kernel.h"
#include "ata.h"
#include "usb.h"
+#include "usb-target.h"
#define USB_RST_ASSERT
#define USB_RST_DEASSERT