1
0
Fork 0
forked from len0rd/rockbox

Minor missing #include and static function fixes for mrobe

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18487 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2008-09-10 20:14:22 +00:00
parent 1cf8331d7a
commit 37a384c541
6 changed files with 8 additions and 2 deletions

View file

@ -1464,7 +1464,7 @@ static bool dbg_cpufreq(void)
#if defined(HAVE_TSC2100) && !defined(SIMULATOR) #if defined(HAVE_TSC2100) && !defined(SIMULATOR)
#include "tsc2100.h" #include "tsc2100.h"
char *itob(int n, int len) static char *itob(int n, int len)
{ {
static char binary[64]; static char binary[64];
int i,j; int i,j;
@ -1519,7 +1519,7 @@ static int tsc2100debug_action_callback(int action, struct gui_synclist *lists)
} }
return action; return action;
} }
bool tsc2100_debug(void) static bool tsc2100_debug(void)
{ {
int page = 0; int page = 0;
char title[32] = "tsc2100 registers - Page 0"; char title[32] = "tsc2100 registers - Page 0";

View file

@ -28,6 +28,8 @@ void tsc2100_read_values(short *x, short* y, short *z1, short *z2);
short tsc2100_readreg(int page, int address); short tsc2100_readreg(int page, int address);
/* write a value to the register */ /* write a value to the register */
void tsc2100_writereg(int page, int address, short value); 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) */ /* ts adc page defines (page 1, 00h ) (refer to page 40 of the datasheet) */
#define TSADC_PAGE 1 #define TSADC_PAGE 1

View file

@ -20,6 +20,7 @@
****************************************************************************/ ****************************************************************************/
#include "cpu.h" #include "cpu.h"
#include "adc.h"
#include "adc-target.h" #include "adc-target.h"
#include "kernel.h" #include "kernel.h"

View file

@ -27,6 +27,7 @@
#include "power.h" #include "power.h"
#include "panic.h" #include "panic.h"
#include "pcf50606.h" #include "pcf50606.h"
#include "ata.h"
#include "ata-target.h" #include "ata-target.h"
#include "backlight-target.h" #include "backlight-target.h"

View file

@ -29,6 +29,7 @@
#include "kernel.h" #include "kernel.h"
#include "memory.h" #include "memory.h"
#include "system-target.h" #include "system-target.h"
#include "lcd.h"
#include "lcd-target.h" #include "lcd-target.h"
/* Copies a rectangle from one framebuffer to another. Can be used in /* Copies a rectangle from one framebuffer to another. Can be used in

View file

@ -25,6 +25,7 @@
#include "kernel.h" #include "kernel.h"
#include "ata.h" #include "ata.h"
#include "usb.h" #include "usb.h"
#include "usb-target.h"
#define USB_RST_ASSERT #define USB_RST_ASSERT
#define USB_RST_DEASSERT #define USB_RST_DEASSERT