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:
parent
1cf8331d7a
commit
37a384c541
6 changed files with 8 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
****************************************************************************/
|
||||
|
||||
#include "cpu.h"
|
||||
#include "adc.h"
|
||||
#include "adc-target.h"
|
||||
#include "kernel.h"
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "power.h"
|
||||
#include "panic.h"
|
||||
#include "pcf50606.h"
|
||||
#include "ata.h"
|
||||
#include "ata-target.h"
|
||||
#include "backlight-target.h"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue